util/lint: Add linter to keep selects out of Kconfig.name4.22
commitc8dc4a3bd1f93a02c47768f4ef122f67bb1a8fe3
authorMartin Roth <gaumless@gmail.com>
Thu, 9 Nov 2023 21:06:56 +0000 (9 14:06 -0700)
committerMartin L Roth <gaumless@gmail.com>
Sat, 18 Nov 2023 01:58:24 +0000 (18 01:58 +0000)
tree9d4c66f8bb9c8a1060324fcaeae1ec8fd208bb8d
parent7e775cf893198d88249895c7cc95c5158fff74e4
util/lint: Add linter to keep selects out of Kconfig.name

While having select statements in Kconfig.name files is valid in the
syntax of the Kconfig language, having the selections split between the
normal Kconfig file and Kconfig.name files makes it harder to see what's
going on.

Kconfig.name files will now be limited to their original purpose of
selecting a particular board or board variant, not actually configuring
that board.

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I2aab78e296f2958e77a938b1afa40a25a6aa82b0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78972
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
util/lint/lint-stable-029-kconfig-name-selects [new file with mode: 0755]