kernel: Avoid unnecessary savedefconfig
Change-Id: I5400e549a6574208d67c5d107ca56eee402fa7f2
diff --git a/build/tasks/kernel.mk b/build/tasks/kernel.mk
index a6aacfd..d99e49e 100644
--- a/build/tasks/kernel.mk
+++ b/build/tasks/kernel.mk
@@ -301,8 +301,6 @@
echo $(KERNEL_CONFIG_OVERRIDE) >> $(1)/.config; \
$(call make-kernel-target,oldconfig); \
fi
- # Create defconfig build artifact
- $(call internal-make-kernel-target,$(1),savedefconfig)
endef
# Make a kernel target
@@ -429,6 +427,7 @@
kernelsavedefconfig: $(KERNEL_OUT)
$(call make-kernel-config,$(KERNEL_OUT),$(BASE_KERNEL_DEFCONFIG))
+ $(call make-kernel-target,savedefconfig)
cp $(KERNEL_OUT)/defconfig $(BASE_KERNEL_DEFCONFIG_SRC)
alldefconfig: $(KERNEL_OUT)