summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-08 17:17:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-03-08 17:17:46 +0000
commitfe05a0887b0beaed9c1c295de2373222a8f85b44 (patch)
treec4e7c2124f6a575b08262dfe378eb6f518f3e510
parent3ba43e6528779d7f9e582c213298512aad7fdb9e (diff)
downloadmtk-20170518-fe05a0887b0beaed9c1c295de2373222a8f85b44.zip
mtk-20170518-fe05a0887b0beaed9c1c295de2373222a8f85b44.tar.gz
mtk-20170518-fe05a0887b0beaed9c1c295de2373222a8f85b44.tar.bz2
mkimage: fix spurious build errors caused by its braindead build system
SVN-Revision: 20065
-rw-r--r--tools/mkimage/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile
index f8d7197..c2cbb53 100644
--- a/tools/mkimage/Makefile
+++ b/tools/mkimage/Makefile
@@ -19,6 +19,7 @@ HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/u-boot-$(PKG_VERSION)
include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
+ rm -f $(HOST_BUILD_DIR)/tools/.depend
touch $(HOST_BUILD_DIR)/include/config.{h,mk} $(HOST_BUILD_DIR)/include/autoconf.mk{.dep,}
$(MAKE) -C $(HOST_BUILD_DIR) SUBDIRS=tools BIN_FILES-y="mkimage" tools
endef