From 38b5d942fdfedb8e352e0ff3c470f1a10fa5cc1c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 11 Feb 2024 10:32:35 +1100 Subject: [PATCH] waf: avoid trying to compile .github directory as DSDL --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index c21a031e52..61fffcb8be 100644 --- a/wscript +++ b/wscript @@ -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: bld( 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/', name='dronecan', export_includes=[