mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: start using 'AP_Common/missing' to all boards
This commit is contained in:
parent
637c3902b4
commit
14dbc16d46
@ -57,6 +57,10 @@ class Board:
|
||||
# make easy to override them. Convert back to list before consumption.
|
||||
env.DEFINES = {}
|
||||
|
||||
env.prepend_value('INCLUDES', [
|
||||
cfg.srcnode.find_dir('libraries/AP_Common/missing').abspath()
|
||||
])
|
||||
|
||||
env.CFLAGS += [
|
||||
'-ffunction-sections',
|
||||
'-fdata-sections',
|
||||
@ -333,9 +337,6 @@ class px4(Board):
|
||||
CONFIG_HAL_BOARD = 'HAL_BOARD_PX4',
|
||||
HAVE_STD_NULLPTR_T = 0,
|
||||
)
|
||||
env.prepend_value('INCLUDES', [
|
||||
cfg.srcnode.find_dir('libraries/AP_Common/missing').abspath()
|
||||
])
|
||||
env.CXXFLAGS += [
|
||||
'-Wlogical-op',
|
||||
'-Wframe-larger-than=1300',
|
||||
|
Loading…
Reference in New Issue
Block a user