Tools: Add quotes in ChibiOS waf file
Without these quotes, the ChibiOS build fails if there are spaces in the Ardupilot path, ie ``C:\Stephen Dade\files\ardupilot``
This commit is contained in:
parent
caa553e727
commit
651a7030aa
@ -297,7 +297,7 @@ def build(bld):
|
||||
bld(
|
||||
# build hwdef.h and apj.prototype from hwdef.dat. This is needed after a waf clean
|
||||
source=bld.path.ant_glob(bld.env.HWDEF),
|
||||
rule="python '${AP_HAL_ROOT}/hwdef/scripts/chibios_hwdef.py' -D '${BUILDROOT}' %s %s" % (bld.env.HWDEF, bld.env.BOOTLOADER_OPTION),
|
||||
rule="python '${AP_HAL_ROOT}/hwdef/scripts/chibios_hwdef.py' -D '${BUILDROOT}' '%s' %s" % (bld.env.HWDEF, bld.env.BOOTLOADER_OPTION),
|
||||
group='dynamic_sources',
|
||||
target=[bld.bldnode.find_or_declare('hwdef.h'),
|
||||
bld.bldnode.find_or_declare('apj.prototype'),
|
||||
|
Loading…
Reference in New Issue
Block a user