]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix config files for out-of-tree building
authorWolfgang Denk <wd@denx.de>
Wed, 14 May 2008 11:55:30 +0000 (13:55 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 14 May 2008 12:02:14 +0000 (14:02 +0200)
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 <wd@denx.de>
board/BuS/EB+MCF-EV123/config.mk
board/amcc/canyonlands/config.mk
board/esd/mecp5200/config.mk
board/linkstation/config.mk
board/munices/config.mk
board/v38b/config.mk

index 9fe2fc5dae6884093d2f9b8e9e4b78b8d8676cef..f03e3962d0f90d9221f01698f6b1de4e90a8c097 100644 (file)
@@ -22,7 +22,7 @@
 # MA 02111-1307 USA
 #
 
-sinclude $(TOPDIR)/board/$(BOARDDIR)/textbase.mk
+sinclude $(OBJTREE)/board/$(BOARDDIR)/textbase.mk
 ifndef TEXT_BASE
 TEXT_BASE = 0xFE000000
 endif
index 1e4bbc47e684359a941d912e645682ad1b88f1fe..7e7953679811559e3f74cc712421f0fb78a0271e 100644 (file)
@@ -24,7 +24,7 @@
 # AMCC 460EX/460GT Evaluation Board (Canyonlands) board
 #
 
-sinclude $(TOPDIR)/board/$(BOARDDIR)/config.tmp
+sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
 
 ifndef TEXT_BASE
 TEXT_BASE = 0xFFFA0000
index 07b5de1881cc34f71ddec987c09591a950ec88bb..170779d6c143485b193741c7f7d873c1c4b57360 100644 (file)
@@ -32,7 +32,7 @@
 #      0x00100000   boot from RAM (for testing only)
 #
 
-sinclude $(TOPDIR)/board/$(BOARDDIR)/config.tmp
+sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
 
 ifndef TEXT_BASE
 ## Standard: boot high
index bdf611dc2b0299a07f00964a9de78af15641cb77..d04829014ee0d10b4ead9e7dfd91e62ff4b0f2d7 100644 (file)
@@ -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
index d226244a1c39b8509229c7aeeb691b999280378a..1b573bc882b825c272b707d571d7d6c2c641266f 100644 (file)
@@ -29,7 +29,7 @@
 #      0xFFF00000   boot high (standard configuration)
 #
 
-sinclude $(TOPDIR)/board/$(BOARDDIR)/config.tmp
+sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
 
 ifndef TEXT_BASE
 TEXT_BASE = 0xFFF00000
index 75577fcbec75b772d64609ef0b61951d51054bb6..bc55fc7b29a1bf316a2d8fa7005f77afd88a8f60 100644 (file)
@@ -25,7 +25,7 @@
 # MarelV38B board
 #
 
-sinclude $(TOPDIR)/board/$(BOARDDIR)/config.tmp
+sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
 
 TEXT_BASE = 0xFF000000