blob: 5de75cdd0ce833d681f92240dd49f0e60795065c [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/
9obj-y+= nss_qdisc/
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080010
Tushar Mathure516f3d2015-12-02 20:33:59 +053011# DTLS manager
12ifneq ($(findstring 3.4, $(KERNELVERSION)),)
13obj-y+=dtls/
14endif
15
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053016# CAPWAP Manager
17ifneq ($(findstring 3.4, $(KERNELVERSION)),)
18obj-y+= capwapmgr/
19endif
20
Stephen Wang999e4992015-11-02 17:51:17 -080021# Port interface Manager
22ifneq ($(findstring 3.4, $(KERNELVERSION)),)
23obj-y+= portifmgr/
24endif
25
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053026#IPv6
Tushar Mathur72ad1da2015-06-19 14:33:56 +053027
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053028#Tun6RD
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080029ifeq "$(CONFIG_IPV6_SIT_6RD)" "y"
30obj-m += qca-nss-tun6rd.o
31qca-nss-tun6rd-objs := nss_connmgr_tun6rd.o
32ccflags-y += -DNSS_TUN6RD_DEBUG_LEVEL=0
33endif
34
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053035obj-m += qca-nss-tunipip6.o
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080036qca-nss-tunipip6-objs := nss_connmgr_tunipip6.o
37ccflags-y += -DNSS_TUNIPIP6_DEBUG_LEVEL=0
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053038
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053039#NSS NETLINK
Arunkumar0e06a962015-07-01 13:58:13 +053040ifneq ($(findstring 3.4, $(KERNELVERSION)),)
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053041obj-y+= netlink/
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080042endif
43
ratheesh kannoth67260ee2015-06-24 15:10:20 +053044# L2TPv2 manager
ratheesh kannoth67260ee2015-06-24 15:10:20 +053045obj-y+=l2tp/l2tpv2/
ratheesh kannoth67260ee2015-06-24 15:10:20 +053046
Shyam Sunder5f41b742015-09-25 18:01:01 +053047#NSS PPTP
Shyam Sunder3d155df2016-05-12 14:40:11 +053048#TODO: The following modules will be enabled for 4.4 kernel as porting progresses
49ifneq ($(VERSION).$(PATCHLEVEL), 4.4)
Shyam Sunder5f41b742015-09-25 18:01:01 +053050obj-y+= pptp/
Shyam Sunder3d155df2016-05-12 14:40:11 +053051endif
Shyam Sunder5f41b742015-09-25 18:01:01 +053052
Shashank Balashankarcb1a5d32016-03-29 15:53:31 -070053#TODO: The following modules will be enabled for 4.4 kernel as porting progresses
54ifneq ($(VERSION).$(PATCHLEVEL), 4.4)
55obj-y+= ipsecmgr/
56endif
57
ratheesh kannoth862a6fd2015-11-03 10:24:42 +053058# MAP-T manager
59ifneq ($(findstring 3.14, $(KERNELVERSION)),)
60obj-y+=map/map-t/
61endif
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080062
ratheesh kannoth862a6fd2015-11-03 10:24:42 +053063obj ?= .