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 | |
Ram Chandra Jangir | 842dab4 | 2016-05-18 23:06:14 +0530 | [diff] [blame^] | 5 | export BUILD_ID = \"Build Id: $(shell date +'%m/%d/%y, %H:%M:%S')\" |
| 6 | ccflags-y += -DNSS_CLIENT_BUILD_ID="$(BUILD_ID)" |
| 7 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 8 | obj-y+= profiler/ |
| 9 | obj-y+= nss_qdisc/ |
Sundarajan Srinivasan | 1b03fe2 | 2014-12-02 13:20:56 -0800 | [diff] [blame] | 10 | |
Tushar Mathur | e516f3d | 2015-12-02 20:33:59 +0530 | [diff] [blame] | 11 | # DTLS manager |
| 12 | ifneq ($(findstring 3.4, $(KERNELVERSION)),) |
| 13 | obj-y+=dtls/ |
| 14 | endif |
| 15 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 16 | # CAPWAP Manager |
| 17 | ifneq ($(findstring 3.4, $(KERNELVERSION)),) |
| 18 | obj-y+= capwapmgr/ |
| 19 | endif |
| 20 | |
Stephen Wang | 999e499 | 2015-11-02 17:51:17 -0800 | [diff] [blame] | 21 | # Port interface Manager |
| 22 | ifneq ($(findstring 3.4, $(KERNELVERSION)),) |
| 23 | obj-y+= portifmgr/ |
| 24 | endif |
| 25 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 26 | #IPv6 |
Tushar Mathur | 72ad1da | 2015-06-19 14:33:56 +0530 | [diff] [blame] | 27 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 28 | #Tun6RD |
Sundarajan Srinivasan | 1b03fe2 | 2014-12-02 13:20:56 -0800 | [diff] [blame] | 29 | ifeq "$(CONFIG_IPV6_SIT_6RD)" "y" |
| 30 | obj-m += qca-nss-tun6rd.o |
| 31 | qca-nss-tun6rd-objs := nss_connmgr_tun6rd.o |
| 32 | ccflags-y += -DNSS_TUN6RD_DEBUG_LEVEL=0 |
| 33 | endif |
| 34 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 35 | obj-m += qca-nss-tunipip6.o |
Sundarajan Srinivasan | 1b03fe2 | 2014-12-02 13:20:56 -0800 | [diff] [blame] | 36 | qca-nss-tunipip6-objs := nss_connmgr_tunipip6.o |
| 37 | ccflags-y += -DNSS_TUNIPIP6_DEBUG_LEVEL=0 |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 38 | |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 39 | #NSS NETLINK |
Arunkumar | 0e06a96 | 2015-07-01 13:58:13 +0530 | [diff] [blame] | 40 | ifneq ($(findstring 3.4, $(KERNELVERSION)),) |
Samarjeet Banerjee | 120a885 | 2015-02-26 19:29:49 +0530 | [diff] [blame] | 41 | obj-y+= netlink/ |
Sundarajan Srinivasan | 1b03fe2 | 2014-12-02 13:20:56 -0800 | [diff] [blame] | 42 | endif |
| 43 | |
ratheesh kannoth | 67260ee | 2015-06-24 15:10:20 +0530 | [diff] [blame] | 44 | # L2TPv2 manager |
ratheesh kannoth | 67260ee | 2015-06-24 15:10:20 +0530 | [diff] [blame] | 45 | obj-y+=l2tp/l2tpv2/ |
ratheesh kannoth | 67260ee | 2015-06-24 15:10:20 +0530 | [diff] [blame] | 46 | |
Shyam Sunder | 5f41b74 | 2015-09-25 18:01:01 +0530 | [diff] [blame] | 47 | #NSS PPTP |
Shyam Sunder | 3d155df | 2016-05-12 14:40:11 +0530 | [diff] [blame] | 48 | #TODO: The following modules will be enabled for 4.4 kernel as porting progresses |
| 49 | ifneq ($(VERSION).$(PATCHLEVEL), 4.4) |
Shyam Sunder | 5f41b74 | 2015-09-25 18:01:01 +0530 | [diff] [blame] | 50 | obj-y+= pptp/ |
Shyam Sunder | 3d155df | 2016-05-12 14:40:11 +0530 | [diff] [blame] | 51 | endif |
Shyam Sunder | 5f41b74 | 2015-09-25 18:01:01 +0530 | [diff] [blame] | 52 | |
Shashank Balashankar | cb1a5d3 | 2016-03-29 15:53:31 -0700 | [diff] [blame] | 53 | #TODO: The following modules will be enabled for 4.4 kernel as porting progresses |
| 54 | ifneq ($(VERSION).$(PATCHLEVEL), 4.4) |
| 55 | obj-y+= ipsecmgr/ |
| 56 | endif |
| 57 | |
ratheesh kannoth | 862a6fd | 2015-11-03 10:24:42 +0530 | [diff] [blame] | 58 | # MAP-T manager |
| 59 | ifneq ($(findstring 3.14, $(KERNELVERSION)),) |
| 60 | obj-y+=map/map-t/ |
| 61 | endif |
Sundarajan Srinivasan | 1b03fe2 | 2014-12-02 13:20:56 -0800 | [diff] [blame] | 62 | |
ratheesh kannoth | 862a6fd | 2015-11-03 10:24:42 +0530 | [diff] [blame] | 63 | obj ?= . |