Skip to content

kbuild: find kernel/configs for merged fragments

Zhang Bingwu linux-kbuild lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v11 patch 0 repliesSuperseded

Changes in v2 from the cover letter

- Split changes to two patches

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kbuild: defconf: use SRCARCH to find merged configsscripts/Makefile.defconf+4 -42 replies
2/2kbuild: find kernel/configs/ for merged fragmentsscripts/Makefile.defconf+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] kbuild: find kernel/configs for merged fragments

From: Zhang Bingwu <[email protected]>

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(-)
Signature · 1 line
2.43.0