Browse Source

Revert "kernel: move .quilt_used to quilt.mk"

This reverts commit 61bfcc4bd74ffde1c400d4649724f262aa081e7b.

The change was wrong as it was placed on the wrong define section.

Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi 3 months ago
parent
commit
30a863bea0
2 changed files with 1 additions and 1 deletions
  1. 1 0
      include/kernel-defaults.mk
  2. 0 1
      include/quilt.mk

+ 1 - 0
include/kernel-defaults.mk

@@ -25,6 +25,7 @@ ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
     define Kernel/Prepare/Default
 	$(LINUX_CAT) $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
 	$(Kernel/Patch)
+	$(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
     endef
   else
     define Kernel/Prepare/Default

+ 0 - 1
include/quilt.mk

@@ -133,7 +133,6 @@ define Quilt/Refresh/Kernel
 	$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(GENERIC_PATCH_DIR),generic/)
 	$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(GENERIC_HACK_DIR),generic-hack/)
 	$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(PATCH_DIR),platform/)
-	$(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
 endef
 
 define Quilt/Template