summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/Makefile
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2016-12-06 18:00:34 -0600
committerDavid S. Miller <davem@davemloft.net>2016-12-07 11:13:46 -0500
commitc8395d4e1d4ffbc9d8aa61f534c82e8deed72cfd (patch)
tree95223b8246acab9b733c21b2db406156d7f4ddf8 /drivers/net/ethernet/ti/Makefile
parent391fd6caf5cfc74a15a79c1237de0a2d84dfd398 (diff)
downloadlinux-c8395d4e1d4ffbc9d8aa61f534c82e8deed72cfd.tar.gz
linux-c8395d4e1d4ffbc9d8aa61f534c82e8deed72cfd.tar.bz2
linux-c8395d4e1d4ffbc9d8aa61f534c82e8deed72cfd.zip
net: ethernet: ti: allow cpts to be built separately
TI CPTS IP is used as part of TI OMAP CPSW driver, but it's also present as part of NETCP on TI Keystone 2 SoCs. So, It's required to enable build of CPTS for both this drivers and this can be achieved by allowing CPTS to be built separately. Hence, allow cpts to be built separately and convert it to be a module as both CPSW and NETCP drives can be built as modules. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/Makefile')
-rw-r--r--drivers/net/ethernet/ti/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/Makefile b/drivers/net/ethernet/ti/Makefile
index d420d9413e4a..1e7c10bf8713 100644
--- a/drivers/net/ethernet/ti/Makefile
+++ b/drivers/net/ethernet/ti/Makefile
@@ -12,8 +12,9 @@ obj-$(CONFIG_TI_DAVINCI_MDIO) += davinci_mdio.o
obj-$(CONFIG_TI_DAVINCI_CPDMA) += davinci_cpdma.o
obj-$(CONFIG_TI_CPSW_PHY_SEL) += cpsw-phy-sel.o
obj-$(CONFIG_TI_CPSW_ALE) += cpsw_ale.o
+obj-$(CONFIG_TI_CPTS) += cpts.o
obj-$(CONFIG_TI_CPSW) += ti_cpsw.o
-ti_cpsw-y := cpsw.o cpts.o
+ti_cpsw-y := cpsw.o
obj-$(CONFIG_TI_KEYSTONE_NETCP) += keystone_netcp.o
keystone_netcp-y := netcp_core.o