summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/config.mk
diff options
context:
space:
mode:
authorNiklaus Giger <niklaus.giger@nestal.com>2007-06-25 16:50:55 +0200
committerStefan Roese <sr@denx.de>2007-06-25 16:50:55 +0200
commit807018fb7faceb429ce0cb47baa2073746b33a4e (patch)
tree2a5aeb7d939391bfa82221a70ac4912b6e93c6ac /cpu/ppc4xx/config.mk
parent466fff1a7bb5fe764a06450626f6098219f446b8 (diff)
downloadu-boot-imx-807018fb7faceb429ce0cb47baa2073746b33a4e.zip
u-boot-imx-807018fb7faceb429ce0cb47baa2073746b33a4e.tar.gz
u-boot-imx-807018fb7faceb429ce0cb47baa2073746b33a4e.tar.bz2
ppc4xx: Fix O=buildir builds
This patch fixes the problem to assemble cpu/ppc4xx/start.S experienced last week where building failed having specified O=../build.sequoia. Signed-off-by: Niklaus Giger <niklaus.giger@nestal.com>
Diffstat (limited to 'cpu/ppc4xx/config.mk')
-rw-r--r--cpu/ppc4xx/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/config.mk b/cpu/ppc4xx/config.mk
index e7fc3f63..4fd5108 100644
--- a/cpu/ppc4xx/config.mk
+++ b/cpu/ppc4xx/config.mk
@@ -24,7 +24,7 @@
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing
PLATFORM_CPPFLAGS += -DCONFIG_4xx -ffixed-r2 -ffixed-r29 -mstring -msoft-float
-cfg=$(shell grep configs $(TOPDIR)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
+cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/\1/')
is440=$(shell grep CONFIG_440 $(TOPDIR)/include/$(cfg))
ifneq (,$(findstring CONFIG_440,$(is440)))