]> git.sur5r.net Git - u-boot/commitdiff
net: Fix distro default dependencies
authorJoe Hershberger <joe.hershberger@ni.com>
Fri, 13 Apr 2018 20:26:31 +0000 (15:26 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 13 Apr 2018 20:48:01 +0000 (15:48 -0500)
PING requires CMD_NET, not NET.
Also, CMD_NET already depends on NET, so no need to directly depend
on it.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Kconfig

diff --git a/Kconfig b/Kconfig
index 6670913799fa9e3033528461769aef26801fb271..f319750b57279dc59caeef9db5b78e579925e6af 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 if NET && CMD_NET
+       select CMD_DHCP if CMD_NET
+       select CMD_PING if CMD_NET
        select CMD_PXE if NET && CMD_NET
        select CMD_EXT2
        select CMD_EXT4
        select CMD_FAT
        select CMD_FS_GENERIC
        imply CMD_MII if NET
-       select CMD_PING if NET
        select CMD_PART if PARTITIONS
        select HUSH_PARSER
        select BOOTP_BOOTPATH if NET && CMD_NET