summaryrefslogtreecommitdiff
path: root/cmd/Makefile
diff options
context:
space:
mode:
authorRamon Fried <rfried.dev@gmail.com>2019-09-13 18:25:03 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-12-09 18:47:42 +0300
commit7d9701db40895ff5271220ae852d3631b4500219 (patch)
treea550bc3d7037320f6492fe28d503ebb5ce26882a /cmd/Makefile
parent945dd965ddd8b27bda6817d3972d8c00a88b8a01 (diff)
downloadu-boot-7d9701db40895ff5271220ae852d3631b4500219.tar.xz
cmd: mdio/mii: add Kconfig help and allow break dependency
* Add Kconfig help describing the purpose of each command. * Add CONFIG_CMD_MDIO so it could be selected individually, as it doesn't depend on the mii command. * Add Kconfig imply to mii to automatically select the mdio command. Signed-off-by: Ramon Fried <rfried.dev@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'cmd/Makefile')
-rw-r--r--cmd/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/Makefile b/cmd/Makefile
index e87c2f1625..3ac7104546 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -89,9 +89,7 @@ obj-$(CONFIG_CMD_MEMORY) += mem.o
obj-$(CONFIG_CMD_IO) += io.o
obj-$(CONFIG_CMD_MFSL) += mfsl.o
obj-$(CONFIG_CMD_MII) += mii.o
-ifdef CONFIG_PHYLIB
-obj-$(CONFIG_CMD_MII) += mdio.o
-endif
+obj-$(CONFIG_CMD_MDIO) += mdio.o
obj-$(CONFIG_CMD_MISC) += misc.o
obj-$(CONFIG_CMD_MMC) += mmc.o
obj-$(CONFIG_MP) += mp.o