From 8de169b1ce9206ca5a0aac32ef3eb99373fea46e Mon Sep 17 00:00:00 2001 From: Siddharth Purohit Date: Wed, 19 Jun 2019 10:11:51 +0800 Subject: [PATCH] waf: remove redundant src includes for libuavcan drivers --- Tools/ardupilotwaf/chibios.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Tools/ardupilotwaf/chibios.py b/Tools/ardupilotwaf/chibios.py index bd46056eb0..0c1e4196c0 100644 --- a/Tools/ardupilotwaf/chibios.py +++ b/Tools/ardupilotwaf/chibios.py @@ -179,7 +179,6 @@ def setup_can_build(cfg): env.AP_LIBRARIES += [ 'AP_UAVCAN', 'modules/uavcan/libuavcan/src/**/*.cpp', - 'modules/uavcan/libuavcan_drivers/stm32/driver/src/*.cpp' ] env.CFLAGS += ['-DUAVCAN_STM32_CHIBIOS=1', @@ -199,7 +198,6 @@ def setup_can_build(cfg): env.INCLUDES += [ cfg.srcnode.find_dir('modules/uavcan/libuavcan/include').abspath(), - cfg.srcnode.find_dir('modules/uavcan/libuavcan_drivers/stm32/driver/include').abspath() ] cfg.get_board().with_uavcan = True