summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-16 19:24:28 -0600
committerTom Rini <[email protected]>2026-03-30 15:02:27 -0600
commitf1e978fd54d934260c58be85470a4a1f382f6f44 (patch)
tree1afbff42b2889c12aaa35abf2b1c22b41b1baf3c
parent4f2875911f67dc318096f5e0bc85c3b82512a2a5 (diff)
boot: Update tests around network symbols in BOOT_DEFAULTS_CMDS
As exposed by "make randconfig", we have an issues around a number of symbols in BOOT_DEFAULTS_CMDS. Due to the nature of how we currently handle other networking related command options, we need to be testing for "!NO_NET" (which is the symbol for no networking stack) or "NET || NET_LWIP" rather than CMD_NET alone. For consistency and clarity here use "CMD_NET && !NO_NET" here. Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--boot/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 7849928fc37..afbd0e73516 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -431,12 +431,12 @@ config BOOT_DEFAULTS_CMDS
select CMD_FAT
select CMD_FS_GENERIC
select CMD_PART if PARTITIONS
- select CMD_DHCP if CMD_NET
- select CMD_PING if CMD_NET
- select CMD_PXE if CMD_NET
+ select CMD_DHCP if CMD_NET && !NO_NET
+ select CMD_PING if CMD_NET && !NO_NET
+ select CMD_PXE if CMD_NET && !NO_NET
select CMD_BOOTI if ARM64
select CMD_BOOTZ if ARM && !ARM64
- imply CMD_MII if NET || NET_LWIP
+ imply CMD_MII if CMD_NET && !NO_NET
config BOOT_DEFAULTS
bool # Common defaults for standard boot and distroboot