waf: start using 'AP_Common/missing' to all boards

This commit is contained in:
Ricardo de Almeida Gonzaga 2016-03-30 15:31:57 -03:00 committed by Lucas De Marchi
parent 637c3902b4
commit 14dbc16d46

View File

@ -57,6 +57,10 @@ class Board:
# make easy to override them. Convert back to list before consumption. # make easy to override them. Convert back to list before consumption.
env.DEFINES = {} env.DEFINES = {}
env.prepend_value('INCLUDES', [
cfg.srcnode.find_dir('libraries/AP_Common/missing').abspath()
])
env.CFLAGS += [ env.CFLAGS += [
'-ffunction-sections', '-ffunction-sections',
'-fdata-sections', '-fdata-sections',
@ -333,9 +337,6 @@ class px4(Board):
CONFIG_HAL_BOARD = 'HAL_BOARD_PX4', CONFIG_HAL_BOARD = 'HAL_BOARD_PX4',
HAVE_STD_NULLPTR_T = 0, HAVE_STD_NULLPTR_T = 0,
) )
env.prepend_value('INCLUDES', [
cfg.srcnode.find_dir('libraries/AP_Common/missing').abspath()
])
env.CXXFLAGS += [ env.CXXFLAGS += [
'-Wlogical-op', '-Wlogical-op',
'-Wframe-larger-than=1300', '-Wframe-larger-than=1300',