]> git.baikalelectronics.ru Git - kernel.git/commitdiff
kconfig: run olddefconfig instead of oldconfig after merging fragments
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 4 Jun 2019 18:14:53 +0000 (03:14 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 17 Jul 2019 01:25:10 +0000 (10:25 +0900)
'make olddefconfig' is non-interactive, so we can drop 'yes'.
The behavior is equivalent.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/Makefile

index ab30fe724c43c2b1e6e76433ace8466addc4a392..7656e1137b6be59b0e0e93a95e8565c45ef59da9 100644 (file)
@@ -94,7 +94,7 @@ configfiles=$(wildcard $(srctree)/kernel/configs/$@ $(srctree)/arch/$(SRCARCH)/c
 %.config: $(obj)/conf
        $(if $(call configfiles),, $(error No configuration exists for this target on this architecture))
        $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(configfiles)
-       +$(Q)yes "" | $(MAKE) -f $(srctree)/Makefile oldconfig
+       $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig
 
 PHONY += kvmconfig
 kvmconfig: kvm_guest.config