summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-17 08:04:15 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-17 08:04:15 +0000
commitebd3916b5961d71d0121d365a772af59543f29d4 (patch)
tree0d7ae1ceaa73eb9b161421b264cf39359d830fa3
parent5b4b808a61fcc36c27f23027f73769ccf627bb63 (diff)
downloadbuildroot-novena-ebd3916b5961d71d0121d365a772af59543f29d4.tar.gz
buildroot-novena-ebd3916b5961d71d0121d365a772af59543f29d4.zip
u-boot tools: make sure destination directory exists
-rw-r--r--target/u-boot/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/u-boot/Makefile.in b/target/u-boot/Makefile.in
index 8e97c7075..d7af24c2f 100644
--- a/target/u-boot/Makefile.in
+++ b/target/u-boot/Makefile.in
@@ -124,11 +124,13 @@ $(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN)
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)
+ mkdir -p $(@D)
$(TARGET_CC) -I$(U_BOOT_DIR)/include -DUSE_HOSTCC -o $@ \
$(U_BOOT_DIR)/tools/mkimage.c $(U_BOOT_DIR)/tools/crc32.c
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
$(TARGET_DIR)/usr/sbin/fw_printenv: $(U_BOOT_DIR)/$(U_BOOT_BIN)
+ mkdir -p $(@D)
$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(LINUX_HEADERS_DIR)/include \
-DUSE_HOSTCC -o $@ \
$(U_BOOT_DIR)/tools/env/*.c $(U_BOOT_DIR)/tools/crc32.c