mirror of https://github.com/ArduPilot/ardupilot
Tools: fixed build with --out directory for build_binaries
This commit is contained in:
parent
322cd745fc
commit
2059c7bf20
|
@ -26,7 +26,7 @@ def build(bld):
|
||||||
bld(
|
bld(
|
||||||
# build libcanard headers
|
# build libcanard headers
|
||||||
source=bld.path.ant_glob("modules/uavcan/dsdl/**/*.uavcan libraries/AP_UAVCAN/dsdl/**/*.uavcan"),
|
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',
|
group='dynamic_sources',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,6 @@ def build(bld):
|
||||||
|
|
||||||
bld(
|
bld(
|
||||||
# build libcanard headers
|
# build libcanard headers
|
||||||
rule="python3 ../../modules/libcanard/dsdl_compiler/libcanard_dsdlc --header_only --outdir ${BUILDROOT}/modules/libcanard/dsdlc_generated ../../modules/uavcan/dsdl/uavcan ../../libraries/AP_UAVCAN/dsdl/ardupilot ../../libraries/AP_UAVCAN/dsdl/com",
|
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',
|
group='dynamic_sources',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue