From ebd3916b5961d71d0121d365a772af59543f29d4 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 17 Jun 2008 08:04:15 +0000 Subject: [PATCH] u-boot tools: make sure destination directory exists --- target/u-boot/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/u-boot/Makefile.in b/target/u-boot/Makefile.in index 8e97c7075a..d7af24c2fe 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 -- 2.30.2