mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 22:18:28 -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_Gripper',
|
||||||
'AP_RTC',
|
'AP_RTC',
|
||||||
'AC_Sprayer',
|
'AC_Sprayer',
|
||||||
|
'AP_Scripting',
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_legacy_defines(sketch_name):
|
def get_legacy_defines(sketch_name):
|
||||||
|
@ -93,7 +93,7 @@ class Board:
|
|||||||
|
|
||||||
if cfg.options.enable_scripting:
|
if cfg.options.enable_scripting:
|
||||||
env.DEFINES.update(
|
env.DEFINES.update(
|
||||||
ENABLE_SCRIPTING = 'TRUE',
|
ENABLE_SCRIPTING = 1,
|
||||||
)
|
)
|
||||||
|
|
||||||
if 'clang' in cfg.env.COMPILER_CC:
|
if 'clang' in cfg.env.COMPILER_CC:
|
||||||
|
Loading…
Reference in New Issue
Block a user