Pantelis Antoniou | 48257c4 | 2005-10-28 16:25:58 -0400 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Freescale Ethernet controllers |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_FS_ENET) += fs_enet.o |
| 6 | |
Jochen Friedrich | 8a85639 | 2007-11-14 15:51:01 -0800 | [diff] [blame] | 7 | fs_enet-$(CONFIG_FS_ENET_HAS_SCC) += mac-scc.o |
| 8 | fs_enet-$(CONFIG_FS_ENET_HAS_FEC) += mac-fec.o |
| 9 | fs_enet-$(CONFIG_FS_ENET_HAS_FCC) += mac-fcc.o |
Pantelis Antoniou | 48257c4 | 2005-10-28 16:25:58 -0400 | [diff] [blame] | 10 | |
Jochen Friedrich | 8a85639 | 2007-11-14 15:51:01 -0800 | [diff] [blame] | 11 | ifeq ($(CONFIG_PPC_CPM_NEW_BINDING),y) |
| 12 | obj-$(CONFIG_FS_ENET_MDIO_FEC) += mii-fec.o |
| 13 | obj-$(CONFIG_FS_ENET_MDIO_FCC) += mii-bitbang.o |
| 14 | else |
| 15 | fs_enet-$(CONFIG_FS_ENET_MDIO_FEC) += mii-fec.o |
| 16 | fs_enet-$(CONFIG_FS_ENET_MDIO_FCC) += mii-bitbang.o |
| 17 | endif |
| 18 | |
| 19 | fs_enet-objs := fs_enet-main.o $(fs_enet-m) |