[PATCH v3 11/32] pxe: Depend on CMDLINE

Simon Glass sjg at chromium.org
Tue Oct 17 00:28:02 CEST 2023


We cannot use PXE or sysboot commands without CONFIG_CMDLINE so add the
required condition.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 cmd/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 00a7f84bce99..18be3da972d2 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2002,6 +2002,7 @@ config CMD_ETHSW
 
 config CMD_PXE
 	bool "pxe"
+	depends on CMDLINE
 	select PXE_UTILS
 	help
 	  Boot image via network using PXE protocol
@@ -2237,6 +2238,7 @@ config CMD_SOUND
 
 config CMD_SYSBOOT
 	bool "sysboot"
+	depends on CMDLINE
 	select PXE_UTILS
 	help
 	  Boot image via local extlinux.conf file
-- 
2.42.0.655.g421f12c284-goog



More information about the U-Boot mailing list