blob: 1ea1d2b4e648c3b59477d5d67bf86509c48a3237 [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
14ifneq ($(findstring 3.4, $(KERNELVERSION)),)
15#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 +053025endif
26
27#IPsec manager
28ifneq ($(or $(findstring 3.10, $(KERNELVERSION)),\
29 $(findstring 3.4, $(KERNELVERSION))),)
30obj-m += qca-nss-ipsecmgr.o
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080031qca-nss-ipsecmgr-objs := nss_ipsecmgr.o
32ccflags-y += -DNSS_IPSECMGR_DEBUG_LEVEL=3
33endif
34
Samarjeet Banerjee120a8852015-02-26 19:29:49 +053035#NSS NETLINK
36ifneq ($(or $(findstring 3.10, $(KERNELVERSION)),\
37 $(findstring 3.4, $(KERNELVERSION))),)
38obj-y+= netlink/
Sundarajan Srinivasan1b03fe22014-12-02 13:20:56 -080039endif
40
41obj ?= .
42