Fix some broken dependancies
authorEric Andersen <andersen@codepoet.org>
Mon, 8 Aug 2005 08:23:50 +0000 (08:23 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 8 Aug 2005 08:23:50 +0000 (08:23 -0000)
package/bzip2/bzip2.mk
package/module-init-tools/module-init-tools.mk

index 16a21fe1745ebabf2310327d60f2a4d10d08bb69..b3fcb957f357873cb91e3a1089f6866c4adb59b8 100644 (file)
@@ -43,6 +43,7 @@ $(STAGING_DIR)/lib/libbz2.so.$(BZIP2_VER): $(BZIP2_DIR)/.unpacked
 $(BZIP2_BINARY): $(STAGING_DIR)/lib/libbz2.so.$(BZIP2_VER)
        $(TARGET_CONFIGURE_OPTS) \
        $(MAKE) CC=$(TARGET_CC) -C $(BZIP2_DIR) bzip2 bzip2recover
+       touch -c $(BZIP2_BINARY)
 
 $(BZIP2_TARGET_BINARY): $(BZIP2_BINARY)
        (cd $(TARGET_DIR)/usr/bin; \
index 2bc37333b95c2be18d8b24655e12291e2e467bf2..c4d2a3692d70e27ab119e9880abf6326f2464fca 100644 (file)
@@ -36,13 +36,14 @@ $(MODULE_INIT_TOOLS_DIR)/.configured: $(MODULE_INIT_TOOLS_DIR)/.source
 
 $(MODULE_INIT_TOOLS_DIR)/$(MODULE_INIT_TOOLS_BINARY): $(MODULE_INIT_TOOLS_DIR)/.configured
        $(MAKE) CC=$(TARGET_CC) -C $(MODULE_INIT_TOOLS_DIR)
+       touch -c $(MODULE_INIT_TOOLS_DIR)/$(MODULE_INIT_TOOLS_BINARY)
 
 ifeq ($(strip $(BR2_PACKAGE_MODUTILS)),y)
-$(TARGET_DIR)/$(MODULE_INIT_TOOLS_TARGET_BINARY): \
+$(MODULE_INIT_TOOLS_TARGET_BINARY): \
        $(MODULE_INIT_TOOLS_DIR)/$(MODULE_INIT_TOOLS_BINARY) \
        modutils
 else
-$(TARGET_DIR)/$(MODULE_INIT_TOOLS_TARGET_BINARY): \
+$(MODULE_INIT_TOOLS_TARGET_BINARY): \
        $(MODULE_INIT_TOOLS_DIR)/$(MODULE_INIT_TOOLS_BINARY)
 endif
 ifeq ($(strip $(BR2_PACKAGE_MODUTILS)),y)
@@ -51,8 +52,9 @@ endif
        STRIPPROG='$(STRIPPROG)' \
        $(MAKE) prefix=$(TARGET_DIR) -C $(MODULE_INIT_TOOLS_DIR) install-exec
        rm -Rf $(TARGET_DIR)/usr/man
+       touch -c $(MODULE_INIT_TOOLS_TARGET_BINARY)
 
-module-init-tools: uclibc $(TARGET_DIR)/$(MODULE_INIT_TOOLS_TARGET_BINARY)
+module-init-tools: uclibc $(MODULE_INIT_TOOLS_TARGET_BINARY)
 
 module-init-tools-source: $(DL_DIR)/$(MODULE_INIT_TOOLS_SOURCE)