This patch makes possible to put a board-specific header file (e. g. foobar.h) to arch/mips/boards/*/include/board/. Header file usage: #include <board/foobar.h> Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- arch/mips/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/Makefile b/arch/mips/Makefile index f28c21d..6b7dae9 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -96,6 +96,8 @@ else MACH := endif +CPPFLAGS += -I$(BOARD)/include + common-y += $(BOARD) $(MACH) common-y += arch/mips/lib/ common-y += arch/mips/boot/ -- 1.7.10 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox