Revert "kernel: move .quilt_used to quilt.mk"
authorChristian Marangi <[email protected]>
Thu, 27 Nov 2025 19:24:05 +0000 (20:24 +0100)
committerChristian Marangi <[email protected]>
Thu, 27 Nov 2025 19:24:05 +0000 (20:24 +0100)
This reverts commit 61bfcc4bd74ffde1c400d4649724f262aa081e7b.

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

Signed-off-by: Christian Marangi <[email protected]>
include/kernel-defaults.mk
include/quilt.mk

index bdfdaaa6164ad28d2b947f42a0bfef0216f1a110..cbe415abe64ab95fe3df6dcb98dd95cdda1e154f 100644 (file)
@@ -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
index d85d35ffc46f7e72c767111b06a162cd32f578d9..a58390f6c5471d1996de4f5f1972992488040c63 100644 (file)
@@ -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