mirror of https://github.com/ArduPilot/ardupilot
waf: only add support for iofirmware build if the board supports it
This commit is contained in:
parent
22f74b0827
commit
19d9982ac1
4
wscript
4
wscript
|
@ -390,7 +390,9 @@ def _build_recursion(bld):
|
||||||
common_dirs_patterns,
|
common_dirs_patterns,
|
||||||
excl=common_dirs_excl,
|
excl=common_dirs_excl,
|
||||||
)
|
)
|
||||||
dirs_to_recurse.append('libraries/AP_IOMCU/iofirmware')
|
if bld.env.IOMCU_FW is not None:
|
||||||
|
if bld.env.IOMCU_FW:
|
||||||
|
dirs_to_recurse.append('libraries/AP_IOMCU/iofirmware')
|
||||||
for p in hal_dirs_patterns:
|
for p in hal_dirs_patterns:
|
||||||
dirs_to_recurse += collect_dirs_to_recurse(
|
dirs_to_recurse += collect_dirs_to_recurse(
|
||||||
bld,
|
bld,
|
||||||
|
|
Loading…
Reference in New Issue