aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-08 12:20:31 -0600
committerTom Rini <trini@konsulko.com>2021-09-04 12:51:47 -0400
commit9f6649209f09adcdcec4f194cbca9bdcf9c43bef (patch)
treebc6e51a4c759f59065d86c25ab0bb110addd28aa /Makefile
parent5ed16a9511d735feea74d6b4ea940f5e6b5dd8fc (diff)
downloadu-boot-9f6649209f09adcdcec4f194cbca9bdcf9c43bef.zip
u-boot-9f6649209f09adcdcec4f194cbca9bdcf9c43bef.tar.gz
u-boot-9f6649209f09adcdcec4f194cbca9bdcf9c43bef.tar.bz2
net: Move network rules to drivers/net
The code under drivers/net is related to ethernet networking drivers, in some fashion or another. Drop these from the top-level Makefile and also move the phy rule into drivers/net/Makefile which is where it belongs. Make the new rule for drivers/net check for the build-stage relevant ETH symbol. Fix up some Kconfig dependencies while we're here to mirror how the Makefile logic now works. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Introduce ETH, Kconfig dependency changes, am43xx fix] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9465e22..72cfa5c 100644
--- a/Makefile
+++ b/Makefile
@@ -813,9 +813,6 @@ libs-y += fs/
libs-y += net/
libs-y += disk/
libs-y += drivers/
-libs-y += drivers/net/
-libs-y += drivers/net/phy/
-libs-$(CONFIG_FMAN_ENET) += drivers/net/fm/
libs-$(CONFIG_SYS_FSL_DDR) += drivers/ddr/fsl/
libs-$(CONFIG_SYS_FSL_MMDC) += drivers/ddr/fsl/
libs-$(CONFIG_$(SPL_)ALTERA_SDRAM) += drivers/ddr/altera/