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
2
wscript
2
wscript
|
@ -390,6 +390,8 @@ def _build_recursion(bld):
|
||||||
common_dirs_patterns,
|
common_dirs_patterns,
|
||||||
excl=common_dirs_excl,
|
excl=common_dirs_excl,
|
||||||
)
|
)
|
||||||
|
if bld.env.IOMCU_FW is not None:
|
||||||
|
if bld.env.IOMCU_FW:
|
||||||
dirs_to_recurse.append('libraries/AP_IOMCU/iofirmware')
|
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(
|
||||||
|
|
Loading…
Reference in New Issue