diff options
author | Simon Glass <sjg@chromium.org> | 2022-04-30 00:56:52 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-05-02 09:58:13 -0400 |
commit | f86ca5ad8f780d306e79d49ffe4f5cf1edef37b9 (patch) | |
tree | a2eac09d5cb3376288fc135b1563abb1af7bbb16 /scripts/Makefile.autoconf | |
parent | d3eba95a7e9b6b89404a3ddb2945f03cff4effb4 (diff) | |
download | u-boot-f86ca5ad8f780d306e79d49ffe4f5cf1edef37b9.zip u-boot-f86ca5ad8f780d306e79d49ffe4f5cf1edef37b9.tar.gz u-boot-f86ca5ad8f780d306e79d49ffe4f5cf1edef37b9.tar.bz2 |
Introduce Verifying Program Loader (VPL)
Add support for VPL, a new phase of U-Boot. This runs after TPL. It is
responsible for selecting which SPL binary to run, based on a
verified-boot process.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts/Makefile.autoconf')
-rw-r--r-- | scripts/Makefile.autoconf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf index 0b3ffa0..3fa4d50 100644 --- a/scripts/Makefile.autoconf +++ b/scripts/Makefile.autoconf @@ -18,6 +18,10 @@ ifeq ($(shell grep -q '^CONFIG_TPL=y' include/config/auto.conf 2>/dev/null && ec __all: tpl/include/autoconf.mk endif +ifeq ($(shell grep -q '^CONFIG_VPL=y' include/config/auto.conf 2>/dev/null && echo y),y) +__all: vpl/include/autoconf.mk +endif + include include/config/auto.conf include scripts/Kbuild.include @@ -85,6 +89,10 @@ tpl/u-boot.cfg: include/config.h FORCE $(Q)mkdir -p $(dir $@) $(call cmd,u_boot_cfg,-DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD) +vpl/u-boot.cfg: include/config.h FORCE + $(Q)mkdir -p $(dir $@) + $(call cmd,u_boot_cfg,-DCONFIG_SPL_BUILD -DCONFIG_VPL_BUILD) + include/autoconf.mk: u-boot.cfg $(call cmd,autoconf) @@ -96,6 +104,10 @@ tpl/include/autoconf.mk: tpl/u-boot.cfg $(Q)mkdir -p $(dir $@) $(call cmd,autoconf) +vpl/include/autoconf.mk: vpl/u-boot.cfg + $(Q)mkdir -p $(dir $@) + $(call cmd,autoconf) + # include/config.h # Prior to Kconfig, it was generated by mkconfig. Now it is created here. define filechk_config_h |