1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the TI network device drivers.
6 obj-
$(CONFIG_TI_CPSW
) += cpsw-common.o
7 obj-
$(CONFIG_TI_DAVINCI_EMAC
) += cpsw-common.o
8 obj-
$(CONFIG_TI_CPSW_SWITCHDEV
) += cpsw-common.o
10 obj-
$(CONFIG_TLAN
) += tlan.o
11 obj-
$(CONFIG_CPMAC
) += cpmac.o
12 obj-
$(CONFIG_TI_DAVINCI_EMAC
) += ti_davinci_emac.o
13 ti_davinci_emac-y
:= davinci_emac.o davinci_cpdma.o
14 obj-
$(CONFIG_TI_DAVINCI_MDIO
) += davinci_mdio.o
15 obj-
$(CONFIG_TI_CPSW_PHY_SEL
) += cpsw-phy-sel.o
16 obj-
$(CONFIG_TI_CPTS_MOD
) += cpts.o
17 obj-
$(CONFIG_TI_CPSW
) += ti_cpsw.o
18 ti_cpsw-y
:= cpsw.o davinci_cpdma.o cpsw_ale.o cpsw_priv.o cpsw_sl.o cpsw_ethtool.o
19 obj-
$(CONFIG_TI_CPSW_SWITCHDEV
) += ti_cpsw_new.o
20 ti_cpsw_new-y
:= cpsw_switchdev.o cpsw_new.o davinci_cpdma.o cpsw_ale.o cpsw_sl.o cpsw_priv.o cpsw_ethtool.o
22 obj-
$(CONFIG_TI_KEYSTONE_NETCP
) += keystone_netcp.o
23 keystone_netcp-y
:= netcp_core.o cpsw_ale.o
24 obj-
$(CONFIG_TI_KEYSTONE_NETCP_ETHSS
) += keystone_netcp_ethss.o
25 keystone_netcp_ethss-y
:= netcp_ethss.o netcp_sgmii.o netcp_xgbepcsr.o cpsw_ale.o
27 obj-
$(CONFIG_TI_K3_AM65_CPSW_NUSS
) += ti-am65-cpsw-nuss.o
28 ti-am65-cpsw-nuss-y
:= am65-cpsw-nuss.o cpsw_sl.o am65-cpsw-ethtool.o cpsw_ale.o k3-cppi-desc-pool.o