# | |
# Makefile for the Linux Ethernet gmac driver. | |
# | |
#obj-$(CONFIG_NET_ZX29_GMAC) += zx_gmac.o | |
#obj-$(CONFIG_NET_ZX29_GMAC_PHY) += phy/ | |
obj-$(CONFIG_NET_ZX29_GMAC) += gmac.o | |
ifeq ($(CONFIG_NET_ZX29_GMAC_PHY),y) | |
gmac-y += zx_gmac.o \ | |
phy/zx_gmac_phy.o | |
endif | |
ifeq ($(CONFIG_NET_ZX29_GMAC_SWITCH),y) | |
gmac-y += zx_gmac.o \ | |
switch/rtk_api.o \ | |
switch/rtl8306e_asicdrv.o \ | |
switch/zx_gmac_switch.o | |
endif |