ppc4xx: Fix bogus Canyonlands config.mk
authorStefan Roese <sr@denx.de>
Wed, 14 May 2008 11:40:03 +0000 (13:40 +0200)
committerStefan Roese <sr@denx.de>
Wed, 14 May 2008 11:40:03 +0000 (13:40 +0200)
This patch fixes the canyonlands config.mk file to enable correct
out-of-tree builds. Thanks to Wolfgang Denk for spotting this.

Signed-off-by: Stefan Roese <sr@denx.de>
board/amcc/canyonlands/config.mk

index 1e4bbc47e684359a941d912e645682ad1b88f1fe..2330cae925bb759677cfda5fa28d8a2afb73cb39 100644 (file)
 # 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
 endif
 
-ifeq ($(CONFIG_NAND_U_BOOT),y)
-LDSCRIPT = $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
-endif
-
-ifeq ($(CONFIG_PCIBOOT_U_BOOT),y)
-LDSCRIPT = $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
-endif
-
 PLATFORM_CPPFLAGS += -DCONFIG_440=1
 
 ifeq ($(debug),1)