Browse Source

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.
mission-4.1.18
Gustavo Jose de Sousa 9 years ago committed by Lucas De Marchi
parent
commit
41e2a8cf1e
  1. 8
      Tools/ardupilotwaf/gbenchmark.py

8
Tools/ardupilotwaf/gbenchmark.py

@ -41,6 +41,14 @@ def configure(cfg): @@ -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:

Loading…
Cancel
Save