From 41e2a8cf1eeb2c91adbb00de4fdc1dc0331d98d7 Mon Sep 17 00:00:00 2001 From: Gustavo Jose de Sousa Date: Fri, 11 Dec 2015 16:21:11 -0200 Subject: [PATCH] waf: gbenchmark: disable cross-compilation That's a temporary solution to allow cross compilation for the common binaries. We can enable cross compilation of benchmark later. --- Tools/ardupilotwaf/gbenchmark.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Tools/ardupilotwaf/gbenchmark.py b/Tools/ardupilotwaf/gbenchmark.py index d9b03bc111..e13f47ff75 100644 --- a/Tools/ardupilotwaf/gbenchmark.py +++ b/Tools/ardupilotwaf/gbenchmark.py @@ -41,6 +41,14 @@ def configure(cfg): env = cfg.env env.HAS_GBENCHMARK = False + if env.TOOLCHAIN != 'native': + cfg.msg( + 'Gbenchmark', + 'cross-compilation currently not supported', + color='YELLOW', + ) + return + cfg.start_msg('Checking for gbenchmark submodule') cmake_lists = cfg.srcnode.find_resource('modules/gbenchmark/CMakeLists.txt') if not cmake_lists: