mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: support no-gcs and DAL builds
This commit is contained in:
parent
603146c5ca
commit
0c1d665818
@ -36,6 +36,7 @@ COMMON_VEHICLE_DEPENDENT_LIBRARIES = [
|
||||
'AP_InertialSensor',
|
||||
'AP_Math',
|
||||
'AP_Mission',
|
||||
'AP_DAL',
|
||||
'AP_NavEKF',
|
||||
'AP_NavEKF2',
|
||||
'AP_NavEKF3',
|
||||
|
@ -64,6 +64,10 @@ class Board:
|
||||
else:
|
||||
cfg.options.disable_scripting = True
|
||||
|
||||
# allow GCS disable for AP_DAL example
|
||||
if cfg.options.no_gcs:
|
||||
env.CXXFLAGS += ['-DHAL_NO_GCS=1']
|
||||
|
||||
d = env.get_merged_dict()
|
||||
# Always prepend so that arguments passed in the command line get
|
||||
# the priority.
|
||||
|
Loading…
Reference in New Issue
Block a user