[PATCH] net: cmd: Correct dependencies for CMD_PXE

Tom Rini trini at konsulko.com
Mon Mar 23 20:52:53 CET 2026


The CMD_PXE functionality can only build with CMD_TFTPBOOT enabled (or
we get undefined references to do_tftpb), so express this dependency in
Kconfig.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Jerome Forissier <jerome.forissier at arm.com>
---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index a90102b8cd73..1210e8b9dae0 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2313,7 +2313,7 @@ config WGET_BUILTIN_CACERT_PATH
 config CMD_PXE
 	bool "pxe"
 	select PXE_UTILS
-	imply CMD_TFTPBOOT
+	select CMD_TFTPBOOT
 	help
 	  Boot image via network using PXE protocol
 
-- 
2.43.0



More information about the U-Boot mailing list