Re: [PATCH] kconfig: Error out on duplicated kconfig inclusion

From: Nicolas Schier

Date: Fri Feb 27 2026 - 03:32:21 EST



On Fri, 20 Feb 2026 19:55:19 +0100, Nicolas Schier wrote:
> Let kconfig exit with error on duplicated Kconfig file inclusion.
>
> Repeated inclusion of Kbuild files are considered bad-practise with
> regard to maintenance; and Kconfig language is rich enough that there
> should be no need for that.
>
> If repeated inclusion of Kconfig files is detected, error out with
> messages like:
>
> [...]

Nathan, thanks for spotting the upper case letters. I fixed it locally.

Applied, thanks!

[1/1] kconfig: Error out on duplicated kconfig inclusion
https://git.kernel.org/kbuild/c/102d712d

Best regards,
--
Nicolas