blob: 44bff80bb7e6a27cf9e7fcdebcc4f85eb73cb72d [file] [log] [blame]
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -08001# Makefile for the clients using the NSS driver
2
3ccflags-y := -I$(obj) -I$(obj)/..
4
Ram Chandra Jangir842dab42016-05-18 23:06:14 +05305export BUILD_ID = \"Build Id: $(shell date +'%m/%d/%y, %H:%M:%S')\"
6ccflags-y += -DNSS_CLIENT_BUILD_ID="$(BUILD_ID)"
7
Samarjeet Banerjee120a8852015-02-26 19:29:49 +05308obj-y+= profiler/
Shyam Sunder07448372016-09-06 20:17:40 +05309obj-y+= nss_qdisc/
Suruchi Agarwal3b205b32016-10-18 12:46:16 -070010obj-y+= nss_ppe_qdisc/
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080011
Tushar Mathure516f3d2015-12-02 20:33:59 +053012# DTLS manager
Stephen Wang09442222016-08-23 21:00:58 -070013#obj-y+=dtls/
Tushar Mathure516f3d2015-12-02 20:33:59 +053014
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053015# CAPWAP Manager
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053016obj-y+= capwapmgr/
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053017
Stephen Wang999e4992015-11-02 17:51:17 -080018# Port interface Manager
19ifneq ($(findstring 3.4, $(KERNELVERSION)),)
20obj-y+= portifmgr/
21endif
22
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053023#IPv6
Tushar Mathur72ad1da2015-06-19 14:33:56 +053024
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053025#Tun6RD
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080026ifeq "$(CONFIG_IPV6_SIT_6RD)" "y"
27obj-m += qca-nss-tun6rd.o
28qca-nss-tun6rd-objs := nss_connmgr_tun6rd.o
29ccflags-y += -DNSS_TUN6RD_DEBUG_LEVEL=0
30endif
31
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053032obj-m += qca-nss-tunipip6.o
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080033qca-nss-tunipip6-objs := nss_connmgr_tunipip6.o
34ccflags-y += -DNSS_TUNIPIP6_DEBUG_LEVEL=0
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053035
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053036#NSS NETLINK
Arunkumar0e06a962015-07-01 13:58:13 +053037ifneq ($(findstring 3.4, $(KERNELVERSION)),)
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053038obj-y+= netlink/
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080039endif
40
ratheesh kannoth67260ee2015-06-24 15:10:20 +053041# L2TPv2 manager
ratheesh kannoth67260ee2015-06-24 15:10:20 +053042obj-y+=l2tp/l2tpv2/
ratheesh kannoth67260ee2015-06-24 15:10:20 +053043
Shyam Sunder5f41b742015-09-25 18:01:01 +053044#NSS PPTP
Shyam Sunder5f41b742015-09-25 18:01:01 +053045obj-y+= pptp/
Shyam Sunder5f41b742015-09-25 18:01:01 +053046
mandrew95b90ab2016-11-19 17:57:50 +053047#IPsecmgr
Shashank Balashankarcb1a5d32016-03-29 15:53:31 -070048obj-y+= ipsecmgr/
Shashank Balashankarcb1a5d32016-03-29 15:53:31 -070049
ratheesh kannoth862a6fd2015-11-03 10:24:42 +053050# MAP-T manager
mandrewa4347d32016-11-24 14:45:42 +053051ifeq ($(findstring 3.4, $(KERNELVERSION)),)
ratheesh kannoth862a6fd2015-11-03 10:24:42 +053052obj-y+=map/map-t/
mandrewa4347d32016-11-24 14:45:42 +053053endif
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080054
Murat Sezgin1807d5b2017-01-26 14:28:49 -080055ifeq ($(SoC), ipq807x)
Stephen Wang09442222016-08-23 21:00:58 -070056# Bridge manager
57obj-y += bridge/
Murat Sezgin1807d5b2017-01-26 14:28:49 -080058endif
Stephen Wang09442222016-08-23 21:00:58 -070059
ratheesh kannoth862a6fd2015-11-03 10:24:42 +053060obj ?= .