mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: Add waf scripting configure option
This commit is contained in:
parent
17103623eb
commit
580c9d6ad9
@ -76,6 +76,7 @@ COMMON_VEHICLE_DEPENDENT_LIBRARIES = [
|
||||
'AP_Gripper',
|
||||
'AP_RTC',
|
||||
'AC_Sprayer',
|
||||
'AP_Scripting',
|
||||
]
|
||||
|
||||
def get_legacy_defines(sketch_name):
|
||||
|
@ -93,7 +93,7 @@ class Board:
|
||||
|
||||
if cfg.options.enable_scripting:
|
||||
env.DEFINES.update(
|
||||
ENABLE_SCRIPTING = 'TRUE',
|
||||
ENABLE_SCRIPTING = 1,
|
||||
)
|
||||
|
||||
if 'clang' in cfg.env.COMPILER_CC:
|
||||
|
Loading…
Reference in New Issue
Block a user