[GIT PULL] Kbuild fixes for 7.4 #1

From: Nathan Chancellor

Date: Fri Oct 30 2026 - 15:25:38 EST


Hi Linus,

Please pull this small set of fixes for 7.4-rc1.

Cheers,
Nathan

The following changes since commit 997208ce9f43f01febac956cf9aeffe89945e3c1:

Merge branch 'kbuild-next-speedups' into kbuild-next (2026-10-17 15:20:23 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git tags/kbuild-fixes-7.4-1

for you to fetch changes up to e58096244338308dde3fa76982c8042981ddda52:

scripts/Kconfig.toolchain: Highlight cc-option differences between Kconfig and Kbuild (2026-10-20 14:55:40 -0700)

----------------------------------------------------------------
First round of Kbuild fixes for 7.4

- Move probing of '-mfentry' back into Makefile instead of Kconfig
because it does not interact well with toolchains that support
multiple bit widths

- Add a big comment in scripts/Kconfig.toolchain of two pitfalls when
moving cc-option checks from Kbuild to Kconfig

Signed-off-by: Nathan Chancellor <nathan@xxxxxxxxxx>

----------------------------------------------------------------
Nathan Chancellor (2):
kbuild: Move testing of '-mfentry' back to Makefile from Kconfig
scripts/Kconfig.toolchain: Highlight cc-option differences between Kconfig and Kbuild

Makefile | 3 ++-
scripts/Kconfig.toolchain | 23 +++++++++++++++++++----
2 files changed, 21 insertions(+), 5 deletions(-)