mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 08:44:39 +01:00
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>
This commit is contained in:
parent
30a863bea0
commit
4fd310a8d3
2 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,6 @@ ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
|
||||||
define Kernel/Prepare/Default
|
define Kernel/Prepare/Default
|
||||||
$(LINUX_CAT) $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
|
$(LINUX_CAT) $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
|
||||||
$(Kernel/Patch)
|
$(Kernel/Patch)
|
||||||
$(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
|
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define Kernel/Prepare/Default
|
define Kernel/Prepare/Default
|
||||||
|
|
|
||||||
|
|
@ -103,6 +103,7 @@ define Kernel/Patch/Default
|
||||||
$(call PatchDir,$(LINUX_DIR),$(GENERIC_PATCH_DIR),generic/)
|
$(call PatchDir,$(LINUX_DIR),$(GENERIC_PATCH_DIR),generic/)
|
||||||
$(call PatchDir,$(LINUX_DIR),$(GENERIC_HACK_DIR),generic-hack/)
|
$(call PatchDir,$(LINUX_DIR),$(GENERIC_HACK_DIR),generic-hack/)
|
||||||
$(call PatchDir,$(LINUX_DIR),$(PATCH_DIR),platform/)
|
$(call PatchDir,$(LINUX_DIR),$(PATCH_DIR),platform/)
|
||||||
|
$(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Quilt/RefreshDir
|
define Quilt/RefreshDir
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue