9
0
Fork 0

MIPS: make possible board-specific header files

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@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Antony Pavlov 2012-06-01 13:23:20 +04:00 committed by Sascha Hauer
parent 08845e41fb
commit d25d94bea6
1 changed files with 2 additions and 0 deletions

View File

@ -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/