aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel-defaults.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-08-05 14:08:47 +0200
committerFelix Fietkau <nbd@nbd.name>2016-08-05 14:17:08 +0200
commit22ef1c83b35cd5633b0c58c9c38a43494a906a6a (patch)
treee790cae0c3ca6ed67e48d184999c3e46ae96d483 /include/kernel-defaults.mk
parent51e70267bd7ba886314f87317f31342f8e39f602 (diff)
downloadupstream-22ef1c83b35cd5633b0c58c9c38a43494a906a6a.tar.gz
upstream-22ef1c83b35cd5633b0c58c9c38a43494a906a6a.tar.bz2
upstream-22ef1c83b35cd5633b0c58c9c38a43494a906a6a.zip
kernel: make the kernel build auto-clean the build dir like package builds
Previous behavior can be restored by using QUILT=1 on target/prepare Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/kernel-defaults.mk')
-rw-r--r--include/kernel-defaults.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index 3679daeb84..11dff75305 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -50,7 +50,7 @@ ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
define Kernel/Prepare/Default
xzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
$(Kernel/Patch)
- touch $(LINUX_DIR)/.quilt_used
+ $(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
endef
else
define Kernel/Prepare/Default