Skip to contentSkip to conversation

cmd: Correct dependency for CMD_LINK_LOCAL

PATCH In review Tom Rini 1 participant 2 messages Mar 15, 2025 – Apr 1, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 cmd: Correct dependency for CMD_LINK_LOCAL

Given how LIB_RAND is handled now, we should be depending on one of the implementations and not selecting one of them.

---
 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/Kconfig +1 -1
index cd391d422ae2..aaebdfdd0c1c 100644
@@ -2062,7 +2062,7 @@ config CMD_SNTP
 
 config CMD_LINK_LOCAL
 	bool "linklocal"
-	select LIB_RAND
+	depends on (LIB_RAND || LIB_HW_RAND)
 	help
 	  Acquire a network IP address using the link-local protocol
 
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 4 lines · Tom Rini

Given how LIB_RAND is handled now, we should be depending on one of the implementations and not selecting one of them.

Applied to u-boot/next, thanks!

[1/1] cmd: Correct dependency for CMD_LINK_LOCAL

      commit: be7693386d7f2e46e4907ef55bf9cd1ae4af2903
Signature · 1 line
Tom