only build host-file if we need it
authorMike Frysinger <vapier@gentoo.org>
Thu, 8 Sep 2005 00:03:33 +0000 (00:03 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 8 Sep 2005 00:03:33 +0000 (00:03 -0000)
Makefile
package/file/file.mk

index 19526cfce20357feea541db09c0529c289cbd297..dd384e9e89c2dcdb9be16742bb677b37ef59fe21 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)
 # along with the packages to build for the target.
 #
 ##############################################################
-TARGETS:=host-sed host-file kernel-headers uclibc-configured binutils gcc uclibc-target-utils
+TARGETS:=host-sed kernel-headers uclibc-configured binutils gcc uclibc-target-utils
 include toolchain/Makefile.in
 include package/Makefile.in
 
index 21343a46ae37ce26a236508d332e7fff4d1ddc94..404b67be7da47da9cefed2db4bc2c788ab6ae201 100644 (file)
@@ -81,7 +81,7 @@ $(FILE_DIR2)/.configured: $(FILE_DIR2)/.unpacked
        );
        touch  $(FILE_DIR2)/.configured
 
-$(FILE_DIR2)/$(FILE_BINARY): $(FILE_DIR2)/.configured
+$(FILE_DIR2)/$(FILE_BINARY): $(FILE_DIR2)/.configured $(TOOL_BUILD_DIR)/bin/file
        $(MAKE) $(TARGET_CONFIGURE_OPTS) LDFLAGS="-static" -C $(FILE_DIR2)
 
 $(TARGET_DIR)/$(FILE_TARGET_BINARY): $(FILE_DIR2)/$(FILE_BINARY)