summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/bzip2/bzip2.mk1
-rw-r--r--package/module-init-tools/module-init-tools.mk8
2 files changed, 6 insertions, 3 deletions
diff --git a/package/bzip2/bzip2.mk b/package/bzip2/bzip2.mk
index 16a21fe17..b3fcb957f 100644
--- a/package/bzip2/bzip2.mk
+++ b/package/bzip2/bzip2.mk
@@ -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; \
diff --git a/package/module-init-tools/module-init-tools.mk b/package/module-init-tools/module-init-tools.mk
index 2bc37333b..c4d2a3692 100644
--- a/package/module-init-tools/module-init-tools.mk
+++ b/package/module-init-tools/module-init-tools.mk
@@ -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)