Browse Source

move a stampfile to make it easier to override the patch template

SVN-Revision: 9062
Felix Fietkau 18 years ago
parent
commit
d1933f9761
4 changed files with 3 additions and 2 deletions
  1. 1 0
      include/host-build.mk
  2. 1 0
      include/kernel-defaults.mk
  3. 1 0
      include/package-defaults.mk
  4. 0 2
      include/quilt.mk

+ 1 - 0
include/host-build.mk

@@ -27,6 +27,7 @@ ifneq ($(strip $(PKG_UNPACK)),)
   define Build/Prepare/Default
   	$(PKG_UNPACK)
 	$(Build/Patch)
+	$(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used)
   endef
 endif
 

+ 1 - 0
include/kernel-defaults.mk

@@ -45,6 +45,7 @@ Kernel/Patch:=$(Kernel/Patch/Default)
 define Kernel/Prepare/Default
 	bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
 	$(Kernel/Patch)
+	$(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
 endef
 
 define Kernel/Configure/2.4

+ 1 - 0
include/package-defaults.mk

@@ -39,6 +39,7 @@ ifneq ($(strip $(PKG_UNPACK)),)
   define Build/Prepare/Default
   	$(PKG_UNPACK)
 	$(Build/Patch)
+	$(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used)
   endef
 endif
 

+ 0 - 2
include/quilt.mk

@@ -59,7 +59,6 @@ endif
 define Build/Patch/Default
 	$(if $(QUILT),rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches)
 	$(call PatchDir,$(PATCH_DIR),)
-	$(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used)
 endef
 
 define Kernel/Patch/Default
@@ -68,7 +67,6 @@ define Kernel/Patch/Default
 	if [ -d ./files ]; then $(CP) ./files/* $(LINUX_DIR)/; fi
 	$(call PatchDir,$(GENERIC_PATCH_DIR),generic/)
 	$(call PatchDir,$(PATCH_DIR),platform/)
-	$(if $(strip $(QUILT)),touch $(PKG_BUILD_DIR)/.quilt_used)
 endef
 
 $(STAMP_PATCHED): $(STAMP_PREPARED)