mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
waf: don't build libuavcan library for AP_Periph builds
This commit is contained in:
parent
f178174df1
commit
2223698c47
@ -342,7 +342,7 @@ class Board:
|
||||
'-Wl,--gc-sections',
|
||||
]
|
||||
|
||||
if self.with_can:
|
||||
if self.with_can and not cfg.env.AP_PERIPH:
|
||||
env.AP_LIBRARIES += [
|
||||
'AP_UAVCAN',
|
||||
'modules/uavcan/libuavcan/src/**/*.cpp'
|
||||
|
Loading…
Reference in New Issue
Block a user