summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-02-26 16:01:02 +0100
committerTom Rini <trini@konsulko.com>2018-02-27 16:25:30 -0500
commit3b3ea2c56ec4bc5588281fd103c744e608f8b25c (patch)
tree5c6d19993bdbd2676602444223011a0e29fb7e7e /Kconfig
parent4bafceff0e9e5a36908031e41c69a6b37e82da58 (diff)
downloadu-boot-3b3ea2c56ec4bc5588281fd103c744e608f8b25c.tar.gz
Kconfig: cmd: Make networking command dependent on NET
Enable networking command only when NET is enabled. And remove selecting NET for CMD_NET Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig18
1 files changed, 9 insertions, 9 deletions
diff --git a/Kconfig b/Kconfig
index efd77f3129..43540614ce 100644
--- a/Kconfig
+++ b/Kconfig
@@ -69,22 +69,22 @@ config DISTRO_DEFAULTS
imply USE_BOOTCOMMAND
select CMD_BOOTZ if ARM && !ARM64
select CMD_BOOTI if ARM64
- select CMD_DHCP if NET
- select CMD_PXE if NET
+ select CMD_DHCP if NET && CMD_NET
+ select CMD_PXE if NET && CMD_NET
select CMD_EXT2
select CMD_EXT4
select CMD_FAT
select CMD_FS_GENERIC
- select CMD_MII if NET
+ imply CMD_MII if NET
select CMD_PING if NET
select CMD_PART if PARTITIONS
select HUSH_PARSER
- select BOOTP_BOOTPATH if NET
- select BOOTP_DNS if NET
- select BOOTP_GATEWAY if NET
- select BOOTP_HOSTNAME if NET
- select BOOTP_PXE if NET
- select BOOTP_SUBNETMASK if NET
+ select BOOTP_BOOTPATH if NET && CMD_NET
+ select BOOTP_DNS if NET && CMD_NET
+ select BOOTP_GATEWAY if NET && CMD_NET
+ select BOOTP_HOSTNAME if NET && CMD_NET
+ select BOOTP_PXE if NET && CMD_NET
+ select BOOTP_SUBNETMASK if NET && CMD_NET
select CMDLINE_EDITING
select AUTO_COMPLETE
select SYS_LONGHELP