mirror of https://github.com/ArduPilot/ardupilot
AP_DAL: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
This commit is contained in:
parent
a729ba165e
commit
13dc37fdcc
|
@ -19,7 +19,7 @@ def build(bld):
|
|||
)
|
||||
|
||||
# only valid to build with no GCS and no scripting
|
||||
if '-DHAL_GCS_ENABLED=0' in bld.env.CXXFLAGS and 'ENABLE_SCRIPTING=1' not in bld.env.DEFINES:
|
||||
if '-DHAL_GCS_ENABLED=0' in bld.env.CXXFLAGS and 'AP_SCRIPTING_ENABLED=1' not in bld.env.DEFINES:
|
||||
bld.ap_program(
|
||||
program_groups=['tool'],
|
||||
use='AP_DAL_libs',
|
||||
|
|
Loading…
Reference in New Issue