Skip to contentSkip to conversation

net: cmd: Correct dependencies for CMD_PXE

PATCH In review Tom Rini 2 participants 2 messages Mar 23 – Mar 30

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 net: cmd: Correct dependencies for CMD_PXE

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.

---
Cc: Jerome Forissier <[email protected]>

---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/Kconfig +1 -1
index a90102b8cd73..1210e8b9dae0 100644
@@ -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
 
Signature · 1 line
2.43.0
#1 lore raw
Quoted 10 lines · Tom Rini

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.

---
Cc: Jerome Forissier <[email protected]>

---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Added to net-next, thanks!

Signature · 1 line
Jerome
Quoted 13 lines
cmd/Kconfig +1 -1
index a90102b8cd73..1210e8b9dae0 100644
@@ -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