From cda2a4a9961fd4341b7db305cb22fc05957e8b77 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Wed, 14 May 2008 13:55:30 +0200 Subject: Fix config files for out-of-tree building Several board/<...>/config.mk files include dynamically built (by the Makefile) config files but used the wrong file name of $(TOPDIR)/board/$(BOARDDIR)/config.tmp instead if the correct $(OBJTREE)/board/$(BOARDDIR)/config.tmp The bug is nasty because the build result is correct for the (normal) in-tree builds, and because 'sinclude' is used no errors get raised even for out-of-tree build tests. But out-of-tree builds use an incomplete and thus usually incorrect configuration... Signed-off-by: Wolfgang Denk --- board/linkstation/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/linkstation/config.mk') diff --git a/board/linkstation/config.mk b/board/linkstation/config.mk index bdf611d..d048290 100644 --- a/board/linkstation/config.mk +++ b/board/linkstation/config.mk @@ -35,7 +35,7 @@ # 0x07F00000 boot from RAM # -sinclude $(TOPDIR)/board/$(BOARDDIR)/config.tmp +sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp ifndef TEXT_BASE # For flash image - all models -- cgit v1.1