diff options
author | John Keeping | 2022-07-28 11:19:15 +0100 |
---|---|---|
committer | Simon Glass | 2022-08-10 13:42:56 -0600 |
commit | be43a35bff17550fa707795a06eaed6114eb1742 (patch) | |
tree | 8ebd680644e7351e8bca6c78618109926aef3533 /boot/Kconfig | |
parent | 5d1637a40cd1c30f62ebee6e1e1611d5f5613003 (diff) |
boot: allow bootmeth-distro without CONFIG_NET
Remove the dependency on CMD_PXE from BOOTMETH_DISTRO by introducing a
new hidden kconfig symbol to control whether pxe_utils is compiled,
allowing bootstd's distro method to be compiled without needing
networking support enabled.
Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Correct build errors when CMD_BOOTM is not enabled:
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/Kconfig')
-rw-r--r-- | boot/Kconfig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index eddb0c6b318..a294ad769ed 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -294,6 +294,12 @@ endif # SPL endif # FIT +config PXE_UTILS + bool + select MENU + help + Utilities for parsing PXE file formats. + config BOOTSTD bool "Standard boot support" default y @@ -345,7 +351,7 @@ config BOOTSTD_BOOTCOMMAND config BOOTMETH_DISTRO bool "Bootdev support for distro boot" - depends on CMD_PXE + select PXE_UTILS default y help Enables support for distro boot using bootdevs. This makes the |