2005-10-28 20:25:58 +00:00
|
|
|
#
|
|
|
|
# Makefile for the Freescale Ethernet controllers
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-$(CONFIG_FS_ENET) += fs_enet.o
|
|
|
|
|
2007-11-14 23:51:01 +00:00
|
|
|
fs_enet-$(CONFIG_FS_ENET_HAS_SCC) += mac-scc.o
|
|
|
|
fs_enet-$(CONFIG_FS_ENET_HAS_FEC) += mac-fec.o
|
|
|
|
fs_enet-$(CONFIG_FS_ENET_HAS_FCC) += mac-fcc.o
|
2005-10-28 20:25:58 +00:00
|
|
|
|
2007-11-14 23:51:01 +00:00
|
|
|
ifeq ($(CONFIG_PPC_CPM_NEW_BINDING),y)
|
|
|
|
obj-$(CONFIG_FS_ENET_MDIO_FEC) += mii-fec.o
|
|
|
|
obj-$(CONFIG_FS_ENET_MDIO_FCC) += mii-bitbang.o
|
|
|
|
else
|
|
|
|
fs_enet-$(CONFIG_FS_ENET_MDIO_FEC) += mii-fec.o
|
|
|
|
fs_enet-$(CONFIG_FS_ENET_MDIO_FCC) += mii-bitbang.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
fs_enet-objs := fs_enet-main.o $(fs_enet-m)
|