From 3094bf2b359143def3cef6858b7e39289406486f Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 12 Jun 2008 07:27:48 +0000 Subject: u-boot: cleanup arch handling Thanks to Hamish Moffatt. --- target/u-boot/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target') 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 -- cgit v1.2.3