From: nbd Date: Mon, 8 Mar 2010 17:17:46 +0000 (+0000) Subject: mkimage: fix spurious build errors caused by its braindead build system X-Git-Url: http://git.rohieb.name/openwrt.git/commitdiff_plain/1099d43dc627b0768f930ba063aa97f04f1d4b3e?ds=inline mkimage: fix spurious build errors caused by its braindead build system git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20065 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile index f8d7197e1..c2cbb53a2 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