]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Kconfig: Select networking commands only when NET is enabled
authorMichal Simek <michal.simek@xilinx.com>
Tue, 6 Feb 2018 12:28:36 +0000 (13:28 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 9 Feb 2018 11:04:21 +0000 (12:04 +0100)
There is no reason to unconditially select network commands as distro
defaults without networking enable.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Kconfig

diff --git a/Kconfig b/Kconfig
index 6905e588f0c06ed8706653583275fb608f8ef35b..d7a63d906d7277c82cc59a453b86d93e86cc6215 100644 (file)
--- 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