Skip to content

Commit 4fd310a

Browse files
committed
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 <[email protected]>
1 parent 30a863b commit 4fd310a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

include/kernel-defaults.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
2525
define Kernel/Prepare/Default
2626
$(LINUX_CAT) $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
2727
$(Kernel/Patch)
28-
$(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
2928
endef
3029
else
3130
define Kernel/Prepare/Default

include/quilt.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ define Kernel/Patch/Default
103103
$(call PatchDir,$(LINUX_DIR),$(GENERIC_PATCH_DIR),generic/)
104104
$(call PatchDir,$(LINUX_DIR),$(GENERIC_HACK_DIR),generic-hack/)
105105
$(call PatchDir,$(LINUX_DIR),$(PATCH_DIR),platform/)
106+
$(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
106107
endef
107108

108109
define Quilt/RefreshDir

0 commit comments

Comments
 (0)