[openwrt/openwrt] kernel: move .quilt_used to quilt.mk
LEDE Commits
lede-commits at lists.infradead.org
Thu Nov 27 05:31:48 PST 2025
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/61bfcc4bd74ffde1c400d4649724f262aa081e7b
commit 61bfcc4bd74ffde1c400d4649724f262aa081e7b
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Thu Nov 27 14:18:50 2025 +0100
kernel: move .quilt_used to quilt.mk
Move .quilt_used from kernel-defaults.mk to quilt.mk.
This is done to be consistent with the parallel Build/Patch/Default and
Host/Patch/Default and permit better Quilt handling on any package that
might use Kernel/Patch/Default.
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
include/kernel-defaults.mk | 1 -
include/quilt.mk | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index cbe415abe6..bdfdaaa616 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -25,7 +25,6 @@ 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
diff --git a/include/quilt.mk b/include/quilt.mk
index a58390f6c5..d85d35ffc4 100644
--- a/include/quilt.mk
+++ b/include/quilt.mk
@@ -133,6 +133,7 @@ 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
More information about the lede-commits
mailing list