From: Simon Glass Date: Mon, 30 Sep 2024 01:49:31 +0000 (-0600) Subject: scripts: Add some comments about autoconf.mk X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%24image.RelPermalink%20%7D%7D?a=commitdiff_plain;h=d90b3d95597c183d08a741683ccc2805d3e65a20;p=u-boot.git 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 --- 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)