Browse Source

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``
master
Stephen 7 years ago committed by Andrew Tridgell
parent
commit
651a7030aa
  1. 2
      Tools/ardupilotwaf/chibios.py

2
Tools/ardupilotwaf/chibios.py

@ -297,7 +297,7 @@ def build(bld): @@ -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…
Cancel
Save