Skip to contentSkip to conversation

ppc4xx: Fix O=buildir builds

PATCH New Niklaus Giger 1 participant 1 message Jun 25, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc4xx: Fix O=buildir builds

Hi

This patch fixes the problem to assemble cpu/ppc4xx/start.S experienced last week where building failed having specified O=../build.sequoia.

Best regards

---
 cpu/ppc4xx/config.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cpu/ppc4xx/config.mk +0 -1
index e7fc3f6..4fd5108
@@ -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)))
--
1.5.2