summaryrefslogtreecommitdiff
path: root/package/module-init-tools
diff options
context:
space:
mode:
Diffstat (limited to 'package/module-init-tools')
-rw-r--r--package/module-init-tools/module-init-tools.mk8
1 files changed, 5 insertions, 3 deletions
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)