diff options
author | Simon Glass <sjg@chromium.org> | 2022-04-24 23:31:19 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-25 10:00:04 -0400 |
commit | 0b41525e8f5453220e8c78a763a5879e73e6b825 (patch) | |
tree | 290fb9dd2f2f9d3bef751e9ab9cf90cfe317028a /boot/Makefile | |
parent | a080b98981a74e96ef2ff6b4de36b222fe42b8e5 (diff) |
bootstd: Add an implementation of EFI bootmgr
Add a bootmeth driver which handles EFI boot manager, using EFI_LOADER.
In effect, this provides the same functionality as the 'bootefi bootmgr'
command and shares the same code. But the interface into it is via a
bootmeth, so it does not require any special scripts, etc.
For now this requires the 'bootefi' command be enabled. Future work may
tidy this up so that it can be used without CONFIG_CMDLINE being enabled.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/Makefile')
-rw-r--r-- | boot/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/boot/Makefile b/boot/Makefile index 7325dbc1dd..fe221d7f44 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -27,6 +27,9 @@ obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootstd-uclass.o obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO) += bootmeth_distro.o obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO_PXE) += bootmeth_pxe.o obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EFILOADER) += bootmeth_efi.o +ifdef CONFIG_$(SPL_TPL_)BOOTSTD_FULL +obj-$(CONFIG_$(SPL_TPL_)CMD_BOOTEFI_BOOTMGR) += bootmeth_efi_mgr.o +endif obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o |