blob: 253f27356cb2c82de8e2206ec11c03d25c13903b [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
Samarjeet Banerjee120a8852015-02-26 19:29:49 +05308# CAPWAP Manager
9ifneq ($(findstring 3.4, $(KERNELVERSION)),)
10obj-y+= capwapmgr/
11endif
12
13#IPv6
Tushar Mathur72ad1da2015-06-19 14:33:56 +053014
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053015#Tun6RD
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080016ifeq "$(CONFIG_IPV6_SIT_6RD)" "y"
17obj-m += qca-nss-tun6rd.o
18qca-nss-tun6rd-objs := nss_connmgr_tun6rd.o
19ccflags-y += -DNSS_TUN6RD_DEBUG_LEVEL=0
20endif
21
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053022obj-m += qca-nss-tunipip6.o
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080023qca-nss-tunipip6-objs := nss_connmgr_tunipip6.o
24ccflags-y += -DNSS_TUNIPIP6_DEBUG_LEVEL=0
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053025
26#IPsec manager
Arunkumar0e06a962015-07-01 13:58:13 +053027ifneq ($(findstring 3.4, $(KERNELVERSION)),)
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053028obj-m += qca-nss-ipsecmgr.o
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080029qca-nss-ipsecmgr-objs := nss_ipsecmgr.o
30ccflags-y += -DNSS_IPSECMGR_DEBUG_LEVEL=3
31endif
32
Amit Gupta3a190b32015-10-10 19:42:44 +053033ifneq ($(findstring 3.14, $(KERNELVERSION)),)
34obj-m += qca-nss-ipsecmgr.o
35qca-nss-ipsecmgr-objs := nss_ipsecmgr.o
36ccflags-y += -DNSS_IPSECMGR_DEBUG_LEVEL=3
37endif
38
39
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053040#NSS NETLINK
Arunkumar0e06a962015-07-01 13:58:13 +053041ifneq ($(findstring 3.4, $(KERNELVERSION)),)
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053042obj-y+= netlink/
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080043endif
44
ratheesh kannoth67260ee2015-06-24 15:10:20 +053045# L2TPv2 manager
ratheesh kannoth67260ee2015-06-24 15:10:20 +053046obj-y+=l2tp/l2tpv2/
ratheesh kannoth67260ee2015-06-24 15:10:20 +053047
Shyam Sunder5f41b742015-09-25 18:01:01 +053048#NSS PPTP
49ifneq ($(findstring 3.4, $(KERNELVERSION)),)
50obj-y+= pptp/
51endif
52
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080053obj ?= .
54