From 14dbc16d46686a54159c0793a2dc7ee95fb48038 Mon Sep 17 00:00:00 2001 From: Ricardo de Almeida Gonzaga Date: Wed, 30 Mar 2016 15:31:57 -0300 Subject: [PATCH] waf: start using 'AP_Common/missing' to all boards --- Tools/ardupilotwaf/boards.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index fc3176fdc2..fe01d35af4 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -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',