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

Signed-off-by: Simon Glass <s...@chromium.org>
---

(no changes since v1)

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

diff --git a/cmd/Kconfig b/cmd/Kconfig
index f914da6fe1ac..f9e023730c53 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1995,6 +1995,7 @@ config CMD_ETHSW
 
 config CMD_PXE
        bool "pxe"
+       depends on CMDLINE
        select PXE_UTILS
        help
          Boot image via network using PXE protocol
@@ -2230,6 +2231,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.609.gbb76f46606-goog

Reply via email to