bootctl: Plumb in the feature

The code is present but is not currently enabled. Add Makefile rules
so that it is built. Also add a gitignore for bootctl.ini since this
file is created when 'bootctl run' is used.

Update the Kconfig rule to disable this by default, except for sandbox
the EFI app. Add a dependency on CMDLINE since the textline object
calls cread_line_process_ch() which is otherwise not available.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-10-05 09:09:03 -06:00
parent b77155a47b
commit b7640c87b6
4 changed files with 7 additions and 2 deletions

View File

@@ -507,8 +507,8 @@ config BOOT_DEFAULTS
config BOOTCTL
bool "Support for boot control"
depends on BOOTSTD
default y
depends on EXPO && CMDLINE
default y if SANDBOX || EFI_APP
help
This supports an experimental boot control, providing a way to
discover and boot Operating Systems.