summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAnders Darander <ad@datarespons.se>2009-12-02 13:29:23 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-18 08:51:01 +0100
commit9c37425ba9e8144a197ae44088db4d93d4e6a408 (patch)
treef9a596775c07e7ca8d6b410f8df9a2ecce52be49 /target
parent61844782067bafc334c56bd6dd8cf37ba0608923 (diff)
downloadbuildroot-novena-9c37425ba9e8144a197ae44088db4d93d4e6a408.tar.gz
buildroot-novena-9c37425ba9e8144a197ae44088db4d93d4e6a408.zip
Fix mkimage-install problem with external toolchain.
Closes #757. Make sure that /usr/bin/ exists, before trying to copy mkimage to that location. When using an external toolchain, /usr/bin is not guarenteed to exist. Signed-off-by: Anders Darander <ad@datarespons.se> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target')
-rw-r--r--target/u-boot/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/u-boot/Makefile.in b/target/u-boot/Makefile.in
index 69877378e..5f4cd4c20 100644
--- a/target/u-boot/Makefile.in
+++ b/target/u-boot/Makefile.in
@@ -169,6 +169,7 @@ $(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN)
(cd $(BINARIES_DIR); ln -s $(U_BOOT_TARGET_BIN) $(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/
$(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/$(U_BOOT_BIN)