waf: remove redundant src includes for libuavcan drivers

This commit is contained in:
Siddharth Purohit 2019-06-19 10:11:51 +08:00 committed by Andrew Tridgell
parent b123abbe90
commit 8de169b1ce
1 changed files with 0 additions and 2 deletions

View File

@ -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