Skip to content

Commit 61bfcc4

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 ed7e01b commit 61bfcc4

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
@@ -133,6 +133,7 @@ define Quilt/Refresh/Kernel
133133
$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(GENERIC_PATCH_DIR),generic/)
134134
$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(GENERIC_HACK_DIR),generic-hack/)
135135
$(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(PATCH_DIR),platform/)
136+
$(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
136137
endef
137138

138139
define Quilt/Template

0 commit comments

Comments
 (0)