diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-22 17:50:31 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-22 17:50:31 +0000 |
commit | ca3f76d2a5a2f330b12be5dcd9d41e6a30648981 (patch) | |
tree | 525e26bb0d89138cf283238aecd5e8b86b42f868 /include | |
parent | b19b9f9e19dddb9dfec742103c1f961df73bc12b (diff) |
eliminate redundancy by creating the quilt_used stampfile in the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14620 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/host-build.mk | 1 | ||||
-rw-r--r-- | include/package-defaults.mk | 1 | ||||
-rw-r--r-- | include/quilt.mk | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/include/host-build.mk b/include/host-build.mk index fdba1b36cb..3f714cd682 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -27,7 +27,6 @@ ifneq ($(strip $(HOST_UNPACK)),) define Host/Prepare/Default $(HOST_UNPACK) $(Host/Patch) - $(if $(QUILT),touch $(HOST_BUILD_DIR)/.quilt_used) endef endif diff --git a/include/package-defaults.mk b/include/package-defaults.mk index e0cb6e8995..3f3273f44d 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -39,7 +39,6 @@ ifneq ($(strip $(PKG_UNPACK)),) define Build/Prepare/Default $(PKG_UNPACK) $(Build/Patch) - $(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used) endef endif diff --git a/include/quilt.mk b/include/quilt.mk index 4323c77b2b..77b76a6dae 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -79,11 +79,13 @@ endif define Host/Patch/Default $(if $(QUILT),rm -rf $(HOST_BUILD_DIR)/patches; mkdir -p $(HOST_BUILD_DIR)/patches) $(call PatchDir,$(HOST_BUILD_DIR),$(PATCH_DIR),) + $(if $(QUILT),touch $(HOST_BUILD_DIR)/.quilt_used) endef define Build/Patch/Default $(if $(QUILT),rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches) $(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR),) + $(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used) endef kernel_files=$(foreach fdir,$(GENERIC_FILES_DIR) $(FILES_DIR),$(fdir)/.) |