summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2022-07-28 13:19:15 +0300
committerSimon Glass <sjg@chromium.org>2022-08-10 22:42:56 +0300
commitbe43a35bff17550fa707795a06eaed6114eb1742 (patch)
tree8ebd680644e7351e8bca6c78618109926aef3533 /cmd
parent5d1637a40cd1c30f62ebee6e1e1611d5f5613003 (diff)
downloadu-boot-be43a35bff17550fa707795a06eaed6114eb1742.tar.xz
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 'cmd')
-rw-r--r--cmd/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 3625ff2a50..7d19706a8e 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1825,7 +1825,7 @@ config CMD_ETHSW
config CMD_PXE
bool "pxe"
- select MENU
+ select PXE_UTILS
help
Boot image via network using PXE protocol
@@ -2007,7 +2007,7 @@ config CMD_SOUND
config CMD_SYSBOOT
bool "sysboot"
- select MENU
+ select PXE_UTILS
help
Boot image via local extlinux.conf file