AP_DAL: move from HAL_NO_GCS to HAL_GCS_ENABLED

This commit is contained in:
Peter Barker 2021-08-18 21:42:16 +10:00 committed by Peter Barker
parent b18bdb80d6
commit df9de582e4
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def build(bld):
)
# only valid to build with no GCS and no scripting
if '-DHAL_NO_GCS=1' in bld.env.CXXFLAGS and 'ENABLE_SCRIPTING=1' not in bld.env.DEFINES:
if '-DHAL_GCS_ENABLED=0' in bld.env.CXXFLAGS and 'ENABLE_SCRIPTING=1' not in bld.env.DEFINES:
bld.ap_program(
program_groups=['tool'],
use='AP_DAL_libs',