From: Zhang Bingwu <xtexchooser@xxxxxxxx> Function merge_into_defconfig and merge_into_defconfig_override merge a defconfig with several fragments, which should also be searched for in kernel/configs/*.config. When using 'make xxx_defconfig xxx.config' to merge fragments, scripts/kconfig/Makefile also searches kernel/configs/*.config for fragments. This patch also switched usages of ARCH to SRCARCH. For some ARCH values, such as i386 and x86_64, SRCARCH is different from ARCH and arch/$(ARCH) does not exist anymore. If the two functions are used in these ARCHs which has a different SRCARCH, kbuild may fail to find fragments. Zhang Bingwu (1): kbuild: find kernel/configs for fragments in fragment merging scripts/Makefile.defconf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.43.0