MIPS: fix out-of-tree build
PATCH 1/1 MIPS: fix out-of-tree build
The commit
commit d25d94bea67308e29db895d418f3f1f8153ae2ea
Author: Antony Pavlov <[email protected]>
Date: Fri Jun 1 13:23:20 2012 +0400
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/.
breaks the out-of-tree build for the boards that use it (rzx50).
--- arch/mips/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
arch/mips/Makefile +6 -2
@@ -88,14 +88,18 @@ else BOARD := endif +ifeq ($(KBUILD_SRC),) +CPPFLAGS += -I$(BOARD)/include +else +CPPFLAGS += -I$(srctree)/$(BOARD)/include +endif + ifneq ($(machine-y),) MACH := arch/mips/mach-$(machine-y)/ else MACH := endif -CPPFLAGS += -I$(BOARD)/include - common-y += $(BOARD) $(MACH) common-y += arch/mips/lib/ common-y += arch/mips/boot/
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 6 lines · Antony Pavlov
The commit
commit
d25d94bea67308e29db895d418f3f1f8153ae2ea
Author: Antony Pavlov <[email protected]>
Date: Fri Jun 1 13:23:20 2012 +0400
Quoted 6 lines
MIPS: make possible board-specific header files
This patch makes possible to put a board-specific header file (e. g.
foobar.h) toarch/mips/boards/*/include/board/.breaks the out-of-tree build for the boards that use it (rzx50).
Applied, thanks
Sascha
Quoted 42 lines
Signed-off-by Antony Pavlov <[email protected]>Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>--- arch/mips/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)arch/mips/Makefile +6
-2@@ -88,14 +88,18 @@ else BOARD := endif +ifeq ($(KBUILD_SRC),) +CPPFLAGS += -I$(BOARD)/include +else +CPPFLAGS += -I$(srctree)/$(BOARD)/include +endif + ifneq ($(machine-y),) MACH := arch/mips/mach-$(machine-y)/ else MACH := endif -CPPFLAGS += -I$(BOARD)/include - common-y += $(BOARD) $(MACH) common-y += arch/mips/lib/ common-y += arch/mips/boot/Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox