cmd: Correct dependency for CMD_LINK_LOCAL
authorTom Rini <trini@konsulko.com>
Sat, 15 Mar 2025 01:28:56 +0000 (19:28 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 1 Apr 2025 14:46:02 +0000 (08:46 -0600)
Given how LIB_RAND is handled now, we should be depending on one of the
implementations and not selecting one of them.

Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/Kconfig

index cd391d4..aaebdfd 100644 (file)
@@ -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