Sundarajan Srinivasan | 1b03fe2 | 2014-12-02 13:20:56 -0800 | [diff] [blame] | 1 | # Makefile for the clients using the NSS driver |
| 2 | |
| 3 | ccflags-y := -I$(obj) -I$(obj)/.. |
| 4 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 5 | obj-y+= profiler/ |
| 6 | obj-y+= nss_qdisc/ |
Sundarajan Srinivasan | 1b03fe2 | 2014-12-02 13:20:56 -0800 | [diff] [blame] | 7 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 8 | # CAPWAP Manager |
| 9 | ifneq ($(findstring 3.4, $(KERNELVERSION)),) |
| 10 | obj-y+= capwapmgr/ |
| 11 | endif |
| 12 | |
| 13 | #IPv6 |
| 14 | ifneq ($(findstring 3.4, $(KERNELVERSION)),) |
| 15 | #Tun6RD |
Sundarajan Srinivasan | 1b03fe2 | 2014-12-02 13:20:56 -0800 | [diff] [blame] | 16 | ifeq "$(CONFIG_IPV6_SIT_6RD)" "y" |
| 17 | obj-m += qca-nss-tun6rd.o |
| 18 | qca-nss-tun6rd-objs := nss_connmgr_tun6rd.o |
| 19 | ccflags-y += -DNSS_TUN6RD_DEBUG_LEVEL=0 |
| 20 | endif |
| 21 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 22 | obj-m += qca-nss-tunipip6.o |
Sundarajan Srinivasan | 1b03fe2 | 2014-12-02 13:20:56 -0800 | [diff] [blame] | 23 | qca-nss-tunipip6-objs := nss_connmgr_tunipip6.o |
| 24 | ccflags-y += -DNSS_TUNIPIP6_DEBUG_LEVEL=0 |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 25 | endif |
| 26 | |
| 27 | #IPsec manager |
| 28 | ifneq ($(or $(findstring 3.10, $(KERNELVERSION)),\ |
| 29 | $(findstring 3.4, $(KERNELVERSION))),) |
| 30 | obj-m += qca-nss-ipsecmgr.o |
Sundarajan Srinivasan | 1b03fe2 | 2014-12-02 13:20:56 -0800 | [diff] [blame] | 31 | qca-nss-ipsecmgr-objs := nss_ipsecmgr.o |
| 32 | ccflags-y += -DNSS_IPSECMGR_DEBUG_LEVEL=3 |
| 33 | endif |
| 34 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 35 | #NSS NETLINK |
| 36 | ifneq ($(or $(findstring 3.10, $(KERNELVERSION)),\ |
| 37 | $(findstring 3.4, $(KERNELVERSION))),) |
| 38 | obj-y+= netlink/ |
Sundarajan Srinivasan | 1b03fe2 | 2014-12-02 13:20:56 -0800 | [diff] [blame] | 39 | endif |
| 40 | |
| 41 | obj ?= . |
| 42 | |