@@ -53,6 +53,14 @@ config HAVE_LIBUBI
bool
option env="HAVE_LIBUBI"
+config HAVE_LIBUBOOTENV
+ bool
+ option env="HAVE_LIBUBOOTENV"
+
+config HAVE_LIBEBGENV
+ bool
+ option env="HAVE_LIBEBGENV"
+
config HAVE_LIBEXT2FS
bool
option env="HAVE_LIBEXT2FS"
@@ -42,6 +42,10 @@ ifeq ($(HAVE_LIBUBI),)
export HAVE_LIBUBI = y
endif
+ifeq ($(HAVE_LIBUBOOTENV),)
+export HAVE_LIBUBOOTENV = y
+endif
+
ifeq ($(HAVE_LIBZEROMQ),)
export HAVE_LIBZEROMQ = y
endif
@@ -14,16 +14,24 @@ config BOOTLOADER_NONE
config BOOTLOADER_EBG
bool "EFI Boot Guard"
+ depends on HAVE_LIBEBGENV
help
Support for EFI Boot Guard
https://github.com/siemens/efibootguard
+comment "EFI Boot Guard needs libebgenv and libz"
+ depends on !HAVE_ZLIB || !HAVE_LIBEBGENV
+
config UBOOT
bool "U-Boot"
+ depends on HAVE_LIBUBOOTENV
help
Support for U-Boot
https://www.denx.de/wiki/U-Boot
+comment "U-Boot needs libubootenv"
+ depends on !HAVE_LIBUBOOTENV
+
config UBOOT_FWENV
string "U-Boot Environment Configuration file"
depends on UBOOT