summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-08 00:03:33 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-08 00:03:33 +0000
commit8c2fc6099766b757f9a0f96268eeac5011f390e9 (patch)
treeb37e91634e786196c44586ceca92b2162b9d2c69
parenta1464845a8faa05d49eb1086e20e36d9bc668619 (diff)
only build host-file if we need it
-rw-r--r--Makefile2
-rw-r--r--package/file/file.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 19526cfce..dd384e9e8 100644
--- 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
diff --git a/package/file/file.mk b/package/file/file.mk
index 21343a46a..404b67be7 100644
--- a/package/file/file.mk
+++ b/package/file/file.mk
@@ -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)