summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/arc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/arc/Makefile')
-rw-r--r--drivers/net/ethernet/arc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/arc/Makefile b/drivers/net/ethernet/arc/Makefile
index 00c8657637d5..79108af553fb 100644
--- a/drivers/net/ethernet/arc/Makefile
+++ b/drivers/net/ethernet/arc/Makefile
@@ -3,4 +3,6 @@
#
arc_emac-objs := emac_main.o emac_mdio.o
-obj-$(CONFIG_ARC_EMAC) += arc_emac.o
+obj-$(CONFIG_ARC_EMAC_CORE) += arc_emac.o
+obj-$(CONFIG_ARC_EMAC) += emac_arc.o
+obj-$(CONFIG_EMAC_ROCKCHIP) += emac_rockchip.o