waf: avoid trying to compile .github directory as DSDL

This commit is contained in:
Andrew Tridgell 2024-02-11 10:32:35 +11:00
parent 208f47e84f
commit 38b5d942fd
1 changed files with 1 additions and 1 deletions

View File

@ -725,7 +725,7 @@ def _build_dynamic_sources(bld):
if (bld.get_board().with_can or bld.env.HAL_NUM_CAN_IFACES) and not bld.env.AP_PERIPH: if (bld.get_board().with_can or bld.env.HAL_NUM_CAN_IFACES) and not bld.env.AP_PERIPH:
bld( bld(
features='dronecangen', features='dronecangen',
source=bld.srcnode.ant_glob('modules/DroneCAN/DSDL/* libraries/AP_DroneCAN/dsdl/*', dir=True, src=False), source=bld.srcnode.ant_glob('modules/DroneCAN/DSDL/[a-z]* libraries/AP_DroneCAN/dsdl/[a-z]*', dir=True, src=False),
output_dir='modules/DroneCAN/libcanard/dsdlc_generated/', output_dir='modules/DroneCAN/libcanard/dsdlc_generated/',
name='dronecan', name='dronecan',
export_includes=[ export_includes=[