summaryrefslogtreecommitdiffstats
path: root/target/u-boot
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-12-18 09:27:41 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-18 09:27:41 +0100
commitd77594ccd7f81ac99af68e00bae1eb6b816fc022 (patch)
treea02ad62775db7ad521ac596ab67a0ad9290bf7c4 /target/u-boot
parent9c37425ba9e8144a197ae44088db4d93d4e6a408 (diff)
downloadbuildroot-novena-d77594ccd7f81ac99af68e00bae1eb6b816fc022.tar.gz
buildroot-novena-d77594ccd7f81ac99af68e00bae1eb6b816fc022.zip
target/u-boot: install mkimage to HOST_DIR
As suggested by Thomas. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/u-boot')
-rw-r--r--target/u-boot/Makefile.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/u-boot/Makefile.in b/target/u-boot/Makefile.in
index 5f4cd4c20..dd45b42ac 100644
--- a/target/u-boot/Makefile.in
+++ b/target/u-boot/Makefile.in
@@ -14,8 +14,7 @@ U_BOOT_CAT:=$(BZCAT)
U_BOOT_BIN:=u-boot.bin
U_BOOT_TARGET_BIN:=u-boot-$(U_BOOT_VERSION)-$(DATE).bin
-U_BOOT_TOOLS_BIN:=mkimage
-U_BOOT_TOOLS:=$(STAGING_DIR)/usr/bin/$(U_BOOT_TOOLS_BIN)
+U_BOOT_TOOLS:=$(HOST_DIR)/usr/bin/mkimage
MKIMAGE:=$(U_BOOT_TOOLS)
U_BOOT_AUTOSCRIPT=$(BINARIES_DIR)/autoscript
@@ -170,7 +169,7 @@ $(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN)
$(U_BOOT_TOOLS): $(U_BOOT_DIR)/$(U_BOOT_BIN)
mkdir -p $(@D)
- cp -dpf $(U_BOOT_DIR)/tools/$(U_BOOT_TOOLS_BIN) $(STAGING_DIR)/usr/bin/
+ cp -dpf $(U_BOOT_DIR)/tools/mkimage $@
$(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/$(U_BOOT_BIN)
mkdir -p $(@D)