CI: Make check for new defined CONFIG symbols even more robust
authorTom Rini <trini@konsulko.com>
Tue, 10 Jan 2023 16:19:46 +0000 (11:19 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jan 2023 17:27:24 +0000 (12:27 -0500)
commita03efb6f47b219612798c981cc3fddd653215244
tree8161b6ce6ad6892591afe5be9b5db911981a6fee
parent6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd
CI: Make check for new defined CONFIG symbols even more robust

Now that all remaining in-tree cases where we define or undef a CONFIG
symbol have been migrated to Kconfig or renamed to CFG we can make the
CI check more robust. We will exclude the doc, tools and arch/arm/dts
directories from this check as they are special cases. Further, we can
exclude the scripts/kconfig/lkc.h and include/linux/kconfig.h files as
the CONFIG values they define are special tooling cases and not real
symbols.

In the case of docs, the only places that currently fail this test are
old documentation that should be rewritten so that we can remove this
special case.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
.azure-pipelines.yml
.gitlab-ci.yml