blob: cd45debfdd7453762b350d8ff5163a8965b34ded [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
Samarjeet Banerjee120a8852015-02-26 19:29:49 +05305obj-y+= profiler/
6obj-y+= nss_qdisc/
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -08007
Tushar Mathure516f3d2015-12-02 20:33:59 +05308# DTLS manager
9ifneq ($(findstring 3.4, $(KERNELVERSION)),)
10obj-y+=dtls/
11endif
12
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053013# CAPWAP Manager
14ifneq ($(findstring 3.4, $(KERNELVERSION)),)
15obj-y+= capwapmgr/
16endif
17
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
Shashank Balashankarcb1a5d32016-03-29 15:53:31 -070047#TODO: The following modules will be enabled for 4.4 kernel as porting progresses
48ifneq ($(VERSION).$(PATCHLEVEL), 4.4)
49obj-y+= ipsecmgr/
50endif
51
ratheesh kannoth862a6fd2015-11-03 10:24:42 +053052# MAP-T manager
53ifneq ($(findstring 3.14, $(KERNELVERSION)),)
54obj-y+=map/map-t/
55endif
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080056
ratheesh kannoth862a6fd2015-11-03 10:24:42 +053057obj ?= .