cmd: CONFIG_CMD_EFICONFIG requires CONFIG_MENU
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 8 Feb 2023 12:56:33 +0000 (13:56 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 12:05:39 +0000 (13:05 +0100)
The eficonfig command invokes functions implemented in common/menu.c like

* menu_default_set()
* menu_get_choice()
* menu_destroy()
* menu_item_add()

Fixes: 87d791423ac6 ("eficonfig: menu-driven addition of UEFI boot option")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/Kconfig

index c7344ee1f6652826b4912e3db96f44f9d63ce7b5..aef99d2eb81b2cc5849d48b45380d2f5ee789d75 100644 (file)
@@ -2001,6 +2001,7 @@ config CMD_EFIDEBUG
 config CMD_EFICONFIG
        bool "eficonfig - provide menu-driven uefi variables maintenance interface"
        depends on CMD_BOOTEFI_BOOTMGR
+       select MENU
        help
          Enable the 'eficonfig' command which provides the menu-driven UEFI
          variable maintenance interface.