summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi2025-11-27 19:26:37 +0000
committerChristian Marangi2025-11-27 19:26:37 +0000
commit4fd310a8d38bd64d814ab80284b834e2634186e7 (patch)
treed7cc874bb967a66a7d12772b24d882ed35b37269
parent30a863bea0214ce5fd2c9156e8b7e4c14fef9e3a (diff)
downloadopenwrt-4fd310a8d38bd64d814ab80284b834e2634186e7.tar.gz
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@gmail.com>
-rw-r--r--include/kernel-defaults.mk1
-rw-r--r--include/quilt.mk1
2 files changed, 1 insertions, 1 deletions
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..e57bad507c 100644
--- a/include/quilt.mk
+++ b/include/quilt.mk
@@ -103,6 +103,7 @@ define Kernel/Patch/Default
$(call PatchDir,$(LINUX_DIR),$(GENERIC_PATCH_DIR),generic/)
$(call PatchDir,$(LINUX_DIR),$(GENERIC_HACK_DIR),generic-hack/)
$(call PatchDir,$(LINUX_DIR),$(PATCH_DIR),platform/)
+ $(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
endef
define Quilt/RefreshDir