diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-04-23 13:03:50 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-04-23 13:03:50 +0000 |
commit | d3359c93231dae7dc53102436849c448459b65a4 (patch) | |
tree | a3f81dc0c01a1a67971c2b7db686e7eed84752e6 /target/u-boot/Makefile.in | |
parent | a2f4d5164e0ae4ca18a5589cee6cf9c4430baeb7 (diff) | |
download | buildroot-novena-d3359c93231dae7dc53102436849c448459b65a4.tar.gz buildroot-novena-d3359c93231dae7dc53102436849c448459b65a4.zip |
u-boot: use correct ARCH
Diffstat (limited to 'target/u-boot/Makefile.in')
-rw-r--r-- | target/u-boot/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/u-boot/Makefile.in b/target/u-boot/Makefile.in index ba30884c9..7b7bf1352 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=$(echo $(KERNEL_ARCH)|$(SED) 's/powerpc/ppc/') +U_BOOT_ARCH:=$(shell echo $(KERNEL_ARCH)|$(HOST_SED_DIR)/bin/sed 's/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 @@ -106,7 +106,7 @@ $(U_BOOT_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/.header_modified $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ - $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(KERNEL_ARCH) \ + $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \ -C $(U_BOOT_DIR) $(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN) |