浏览代码

only build host-file if we need it

Mike Frysinger 20 年之前
父节点
当前提交
8c2fc60997
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Makefile
  2. 1 1
      package/file/file.mk

+ 1 - 1
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
 

+ 1 - 1
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)