mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -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',
|
'-Wl,--gc-sections',
|
||||||
]
|
]
|
||||||
|
|
||||||
if self.with_can:
|
if self.with_can and not cfg.env.AP_PERIPH:
|
||||||
env.AP_LIBRARIES += [
|
env.AP_LIBRARIES += [
|
||||||
'AP_UAVCAN',
|
'AP_UAVCAN',
|
||||||
'modules/uavcan/libuavcan/src/**/*.cpp'
|
'modules/uavcan/libuavcan/src/**/*.cpp'
|
||||||
|
Loading…
Reference in New Issue
Block a user