summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-12 07:27:48 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-12 07:27:48 +0000
commit3094bf2b359143def3cef6858b7e39289406486f (patch)
tree639c6c7df735b08841cccceb5bb9c7308f54fec4
parent871896a93eb54f4d354cad5462e045cb74860a63 (diff)
downloadbuildroot-novena-3094bf2b359143def3cef6858b7e39289406486f.tar.gz
buildroot-novena-3094bf2b359143def3cef6858b7e39289406486f.zip
u-boot: cleanup arch handling
Thanks to Hamish Moffatt.
-rw-r--r--target/u-boot/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/u-boot/Makefile.in b/target/u-boot/Makefile.in
index 541e71f78..fd74d41e0 100644
--- a/target/u-boot/Makefile.in
+++ b/target/u-boot/Makefile.in
@@ -12,7 +12,7 @@ U_BOOT_CAT:=$(BZCAT)
U_BOOT_BIN:=u-boot.bin
U_BOOT_TOOLS_BIN:=mkimage
# u-boot still uses arch=ppc for powerpc
-U_BOOT_ARCH=$(shell echo $(KERNEL_ARCH)|$(HOST_SED_DIR)/bin/sed 's/powerpc/ppc/')
+U_BOOT_ARCH=$(KERNEL_ARCH:powerpc=ppc)
ifneq ($(BR2_TARGET_U_BOOT_CONFIG_BOARD),)
U_BOOT_INC_CONF_FILE:=$(U_BOOT_DIR)/include/configs/$(subst _config,,$(BR2_TARGET_U_BOOT_CONFIG_BOARD)).h