[v2,0/2] kbuild: find kernel/configs for merged fragments

Message ID 20240114081400.12452-1-xtex@envs.net
Headers
Series kbuild: find kernel/configs for merged fragments |

Message

xtex Jan. 14, 2024, 8:13 a.m. UTC
  From: Zhang Bingwu <xtexchooser@duck.com>

First patch changed 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.

Config fragments merged by  merge_into_defconfig and 
merge_into_defconfig_override 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 behaviour should also be in merge_into_defconfig.

Changed in v2:
  - Split changes to two patches

Zhang Bingwu (2):
  kbuild: defconf: use SRCARCH to find merged configs
  kbuild: find kernel/configs/ for merged fragments

 scripts/Makefile.defconf | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)