diff --git a/Tools/ardupilotwaf/px4.py b/Tools/ardupilotwaf/px4.py index 3aec828eac..be3fbcef7e 100644 --- a/Tools/ardupilotwaf/px4.py +++ b/Tools/ardupilotwaf/px4.py @@ -275,6 +275,7 @@ def configure(cfg): # PX4Firmware build systems (cmake and legacy make-based) can live # together '-DCMAKE_BUILD', + '-DARDUPILOT_BUILD', '-I%s' % bldpath('libraries/GCS_MAVLink'), '-Wl,--gc-sections', )),