diff --git a/net/Makefile b/net/Makefile index 943de145d2..f03d608326 100644 --- a/net/Makefile +++ b/net/Makefile @@ -15,7 +15,7 @@ obj-$(CONFIG_CMD_DNS) += dns.o ifdef CONFIG_DM_ETH obj-$(CONFIG_CMD_NET) += eth-uclass.o else -obj-$(CONFIG_CMD_NET) += eth.o +obj-$(CONFIG_CMD_NET) += eth_legacy.o endif obj-$(CONFIG_CMD_NET) += eth_common.o obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o diff --git a/net/eth.c b/net/eth_legacy.c similarity index 100% rename from net/eth.c rename to net/eth_legacy.c