
The Kconfig feature was added in 2014. Some 7 years later there are still quite a few CONFIG options that have not been migrated. It is time to close this out.
Add a deadline and a warning for boards to migrate to Kconfig.
Signed-off-by: Simon Glass sjg@chromium.org ---
Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/Makefile b/Makefile index 3014788e14e..7e73e6df1ef 100644 --- a/Makefile +++ b/Makefile @@ -1132,6 +1132,16 @@ endif @# know about unless they are in Kconfig. All the existing CONFIG @# options are whitelisted, so new ones should not be added. $(call cmd,cfgcheck,u-boot.cfg) + @if [ -s include/autoconf.mk ]; then \ + echo >&2 "===================== WARNING ======================"; \ + echo >&2 "This board uses ad-hoc CONFIG options, i.e. those"; \ + echo >&2 "not defined by a Kconfig option."; \ + echo >&2 "Support for these will be dropped starting with the"; \ + echo >&2 "v2022.10 release. Please add new Kconfig options"; \ + echo >&2 "as needed, or use devicetree."; \ + echo >&2 "Failure to update may result in board removal."; \ + echo >&2 "===================================================="; \ + fi
PHONY += dtbs dtbs: dts/dt.dtb