kbuild: make DEFCONFIG_LIST work
Most of the Kconfig commands (except defconfig and all*config) read
the .config file as a base set of CONFIG options.

When it does not exist, the files in DEFCONFIG_LIST are searched in
this order and loaded if found.

This is not working for barebox because ARCH_DEFCONFIG is not set by
anyone, nor arch/$(ARCH)/defconfig exists.

Fix this.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 13b0260 commit 6ad4f5fe1b225eaa0f7e42839a6ee98fa15ff925
@Masahiro Yamada Masahiro Yamada authored on 24 Apr 2020
Sascha Hauer committed on 27 Apr 2020
Showing 1 changed file
View
common/Kconfig