waf: px4: set ARDUPILOT_BUILD cmake variable

That allow changing PX4Firmware build system to accommodate ardupilot's build.
This commit is contained in:
Gustavo Jose de Sousa 2016-05-17 18:37:44 -03:00 committed by Lucas De Marchi
parent 5b91a6e065
commit f29d8bd42c
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ def configure(cfg):
NUTTX_SRC=env.PX4_NUTTX_ROOT,
PX4_NUTTX_ROMFS=bldpath(env.PX4_ROMFS_BLD),
APM_PROGRAM_LIB=bldpath(env.PX4_AP_PROGRAM_LIB),
ARDUPILOT_BUILD='YES',
EXTRA_CXX_FLAGS=' '.join((
# NOTE: these "-Wno-error=*" flags should be removed as we update
# the submodule