|
|
|
@ -26,7 +26,7 @@ def build(bld):
@@ -26,7 +26,7 @@ def build(bld):
|
|
|
|
|
bld( |
|
|
|
|
# build libcanard headers |
|
|
|
|
source=bld.path.ant_glob("modules/uavcan/dsdl/**/*.uavcan libraries/AP_UAVCAN/dsdl/**/*.uavcan"), |
|
|
|
|
rule="python3 ../../modules/libcanard/dsdl_compiler/libcanard_dsdlc --header_only --outdir ${BUILDROOT}/modules/libcanard/dsdlc_generated ../../modules/uavcan/dsdl/uavcan", |
|
|
|
|
rule="python3 ${SRCROOT}/modules/libcanard/dsdl_compiler/libcanard_dsdlc --header_only --outdir ${BUILDROOT}/modules/libcanard/dsdlc_generated ${SRCROOT}/modules/uavcan/dsdl/uavcan ${SRCROOT}/libraries/AP_UAVCAN/dsdl/ardupilot ${SRCROOT}/libraries/AP_UAVCAN/dsdl/com", |
|
|
|
|
group='dynamic_sources', |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|