From f74690af494f80df4c38dc517a0eafe386256e22 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Thu, 11 Nov 2021 17:47:29 +0530 Subject: [PATCH] AP_Periph:libcanard moved to modules/DroneCAN --- Tools/AP_Periph/wscript | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Tools/AP_Periph/wscript b/Tools/AP_Periph/wscript index 4cd15359a6..213f4ea618 100644 --- a/Tools/AP_Periph/wscript +++ b/Tools/AP_Periph/wscript @@ -71,16 +71,16 @@ def build(bld): ) # build external libcanard library - bld.stlib(source=['../../modules/libcanard/canard.c'] + - bld.bldnode.ant_glob('modules/libcanard/dsdlc_generated/src/**.c'), - includes=[bld.env.SRCROOT + '/modules/libcanard', - bld.env.BUILDROOT + '/modules/libcanard/dsdlc_generated/include'], + bld.stlib(source=['../../modules/DroneCAN/libcanard/canard.c'] + + bld.bldnode.ant_glob('modules/DroneCAN/libcanard/dsdlc_generated/src/**.c'), + includes=[bld.env.SRCROOT + '/modules/DroneCAN/libcanard', + bld.env.BUILDROOT + '/modules/DroneCAN/libcanard/dsdlc_generated/include'], target='libcanard') bld.ap_program( program_name='AP_Periph', use=['AP_Periph_libs', 'libcanard'], program_groups=['bin','AP_Periph'], - includes=[bld.env.SRCROOT + '/modules/libcanard', - bld.env.BUILDROOT + '/modules/libcanard/dsdlc_generated/include'] + includes=[bld.env.SRCROOT + '/modules/DroneCAN/libcanard', + bld.env.BUILDROOT + '/modules/DroneCAN/libcanard/dsdlc_generated/include'] )