]> git.baikalelectronics.ru Git - uboot.git/commit
boot: allow bootmeth-distro without CONFIG_NET
authorJohn Keeping <john@metanate.com>
Thu, 28 Jul 2022 10:19:15 +0000 (11:19 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Aug 2022 19:42:56 +0000 (13:42 -0600)
commita6a7431228a28be8365340760cc66ee13fc9504d
tree8ebd680644e7351e8bca6c78618109926aef3533
parent1c2f87804b8c29744b6f73c0a676740872a923ca
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>
boot/Kconfig
boot/Makefile
boot/pxe_utils.c
cmd/Kconfig
include/command.h