From d90b3d95597c183d08a741683ccc2805d3e65a20 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 29 Sep 2024 19:49:31 -0600 Subject: [PATCH] scripts: Add some comments about autoconf.mk Now that the conversion of all CONFIG options to Kconfig is complete, these files only contain the xPL_BUILD defines. Add a comment to make this clear. Signed-off-by: Simon Glass --- scripts/Makefile.xpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/Makefile.xpl b/scripts/Makefile.xpl index 1868f1beef..3091311a3d 100644 --- a/scripts/Makefile.xpl +++ b/scripts/Makefile.xpl @@ -20,6 +20,12 @@ _dummy := $(shell [ -d $(obj) ] || mkdir -p $(obj)) include $(srctree)/scripts/Kbuild.include -include include/config/auto.conf + +# This file contains 0, 1 or 2 lines +# It is empty for U-Boot proper (where $(obj) is empty) +# For any xPL build it contains CONFIG_SPL_BUILD=y +# For TPL builds it has CONFIG_SPL_BUILD=y and CONFIG_TPL_BUILD=y +# For VPL builds it has CONFIG_SPL_BUILD=y and CONFIG_VPL_BUILD=y -include $(obj)/include/autoconf.mk UBOOTINCLUDE := -I$(obj)/include $(UBOOTINCLUDE) -- 2.39.5