aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-02-06 13:28:36 +0100
committerTom Rini <trini@konsulko.com>2018-02-08 12:48:11 -0500
commit99dcbdd8a3c3b6b9d7a4adb32bce73e51e51b7c9 (patch)
tree653af56cea44893aad9ae03e4a440ec350fcb778
parentc946b0e9fd722212cb646ea23ea564b4c96e2bb2 (diff)
downloadu-boot-99dcbdd8a3c3b6b9d7a4adb32bce73e51e51b7c9.zip
u-boot-99dcbdd8a3c3b6b9d7a4adb32bce73e51e51b7c9.tar.gz
u-boot-99dcbdd8a3c3b6b9d7a4adb32bce73e51e51b7c9.tar.bz2
Kconfig: Select networking commands only when NET is enabled
There is no reason to unconditially select network commands as distro defaults without networking enable. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kconfig b/Kconfig
index f713c6a..166e784 100644
--- a/Kconfig
+++ b/Kconfig
@@ -69,14 +69,14 @@ config DISTRO_DEFAULTS
imply USE_BOOTCOMMAND
select CMD_BOOTZ if ARM && !ARM64
select CMD_BOOTI if ARM64
- select CMD_DHCP
- select CMD_PXE
+ select CMD_DHCP if NET
+ select CMD_PXE if NET
select CMD_EXT2
select CMD_EXT4
select CMD_FAT
select CMD_FS_GENERIC
- select CMD_MII
- select CMD_PING
+ select CMD_MII if NET
+ select CMD_PING if NET
select CMD_PART
select HUSH_PARSER
help