Radhakrishna Jiguru | 1c9b225 | 2013-08-27 23:57:48 +0530 | [diff] [blame] | 1 | ########################################################################## |
Sol Kavy | 359ef15 | 2014-04-04 11:55:24 -0700 | [diff] [blame] | 2 | # Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. |
Radhakrishna Jiguru | 1c9b225 | 2013-08-27 23:57:48 +0530 | [diff] [blame] | 3 | # Permission to use, copy, modify, and/or distribute this software for |
| 4 | # any purpose with or without fee is hereby granted, provided that the |
| 5 | # above copyright notice and this permission notice appear in all copies. |
| 6 | # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 7 | # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 8 | # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 9 | # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 10 | # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 11 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT |
| 12 | # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 13 | ########################################################################## |
Pamidipati, Vijay | c6ae566 | 2013-06-10 11:03:55 +0530 | [diff] [blame] | 14 | |
| 15 | # ################################################### |
| 16 | # # Makefile for the NSS driver |
| 17 | # ################################################### |
| 18 | |
Abhishek Rastogi | bc74e43 | 2013-04-02 10:28:22 +0530 | [diff] [blame] | 19 | obj-m += qca-nss-drv.o |
Sol Kavy | 2783c07 | 2014-04-05 12:53:13 -0700 | [diff] [blame] | 20 | |
Sol Kavy | 879eb8b | 2014-04-07 19:11:31 -0700 | [diff] [blame] | 21 | # |
| 22 | # List the files that belong to the driver in alphabetical order. |
| 23 | # |
Sol Kavy | 2783c07 | 2014-04-05 12:53:13 -0700 | [diff] [blame] | 24 | qca-nss-drv-objs := \ |
Sol Kavy | 2783c07 | 2014-04-05 12:53:13 -0700 | [diff] [blame] | 25 | nss_cmn.o \ |
| 26 | nss_core.o \ |
Samarjeet Banerjee | de86b80 | 2014-04-10 02:59:49 +0530 | [diff] [blame] | 27 | nss_crypto.o \ |
Sol Kavy | a55c9a5 | 2014-04-08 14:33:16 -0700 | [diff] [blame] | 28 | nss_if.o \ |
Samarjeet Banerjee | d99d9d0 | 2014-04-08 18:51:00 +0530 | [diff] [blame] | 29 | nss_init.o \ |
| 30 | nss_ipsec.o \ |
Sol Kavy | 2783c07 | 2014-04-05 12:53:13 -0700 | [diff] [blame] | 31 | nss_ipv4.o \ |
Sol Kavy | 879eb8b | 2014-04-07 19:11:31 -0700 | [diff] [blame] | 32 | nss_ipv6.o \ |
Sol Kavy | 2783c07 | 2014-04-05 12:53:13 -0700 | [diff] [blame] | 33 | nss_lag.o \ |
| 34 | nss_phys_if.o \ |
| 35 | nss_pm.o \ |
| 36 | nss_stats.o \ |
| 37 | nss_tun6rd.o \ |
| 38 | nss_tunipip6.o \ |
Sakthi Vignesh Radhakrishnan | ef91849 | 2014-04-07 14:24:19 -0700 | [diff] [blame] | 39 | nss_virt_if.o \ |
Ankit Dhanuka | a1569ce | 2014-05-13 19:58:06 +0530 | [diff] [blame] | 40 | nss_shaper.o \ |
| 41 | nss_pppoe.o |
Sol Kavy | 2783c07 | 2014-04-05 12:53:13 -0700 | [diff] [blame] | 42 | |
| 43 | # |
| 44 | # TODO: Deprecated files should be removed before merge |
| 45 | # |
| 46 | qca-nss-drv-objs += \ |
Sol Kavy | 2783c07 | 2014-04-05 12:53:13 -0700 | [diff] [blame] | 47 | nss_tx_rx_eth_rx.o \ |
| 48 | nss_tx_rx_freq.o \ |
| 49 | nss_tx_rx_generic.o \ |
| 50 | nss_tx_rx_ipv4.o \ |
| 51 | nss_tx_rx_ipv6.o \ |
Sol Kavy | 2783c07 | 2014-04-05 12:53:13 -0700 | [diff] [blame] | 52 | nss_tx_rx_n2h.o \ |
| 53 | nss_tx_rx_pppoe.o \ |
| 54 | nss_tx_rx_phys_if.o \ |
Guojun Jin | 20c98ad | 2014-05-02 14:08:48 -0700 | [diff] [blame] | 55 | nss_tx_rx_profiler.o \ |
Sol Kavy | 2783c07 | 2014-04-05 12:53:13 -0700 | [diff] [blame] | 56 | nss_tx_rx_virt_if.o |
| 57 | |
Thomas Wu | c07d870 | 2014-03-19 15:46:19 -0700 | [diff] [blame] | 58 | obj-m += qca-nss-connmgr-ipv4.o |
| 59 | obj-m += qca-nss-connmgr-ipv6.o |
Bharath M Kumar | 614bbf8 | 2013-08-31 20:18:44 +0530 | [diff] [blame] | 60 | obj-m += qca-nss-tunipip6.o |
Samarjeet Banerjee | 7733231 | 2014-08-07 14:48:22 +0530 | [diff] [blame^] | 61 | obj-m += qca-nss-ipsecmgr.o |
| 62 | |
Bharath M Kumar | 0d87e91 | 2013-08-12 18:32:57 +0530 | [diff] [blame] | 63 | ifeq "$(CONFIG_IPV6_SIT_6RD)" "y" |
| 64 | obj-m += qca-nss-tun6rd.o |
Radha krishna Simha Jiguru | 62a29e6 | 2014-04-04 17:28:53 +0530 | [diff] [blame] | 65 | qca-nss-tun6rd-objs := nss_connmgr_tun6rd.o |
Bharath M Kumar | 0d87e91 | 2013-08-12 18:32:57 +0530 | [diff] [blame] | 66 | ccflags-y += -DNSS_TUN6RD_DEBUG_LEVEL=0 |
| 67 | endif |
Pamidipati, Vijay | c6ae566 | 2013-06-10 11:03:55 +0530 | [diff] [blame] | 68 | |
Tushar Mathur | 6650654 | 2014-04-03 22:01:40 +0530 | [diff] [blame] | 69 | qca-nss-connmgr-ipv4-objs := nss_connmgr_ipv4.o nss_connmgr_lag.o |
Pamidipati, Vijay | c6ae566 | 2013-06-10 11:03:55 +0530 | [diff] [blame] | 70 | qca-nss-connmgr-ipv6-objs := nss_connmgr_ipv6.o |
Radha krishna Simha Jiguru | 62a29e6 | 2014-04-04 17:28:53 +0530 | [diff] [blame] | 71 | qca-nss-tunipip6-objs := nss_connmgr_tunipip6.o |
Samarjeet Banerjee | 7733231 | 2014-08-07 14:48:22 +0530 | [diff] [blame^] | 72 | qca-nss-qdisc-objs := nss_qdisc.o |
| 73 | qca-nss-ipsecmgr-objs := nss_ipsecmgr.o |
Abhishek Rastogi | bc74e43 | 2013-04-02 10:28:22 +0530 | [diff] [blame] | 74 | |
Murat Sezgin | 84ca651 | 2014-04-14 13:57:24 -0700 | [diff] [blame] | 75 | ccflags-y += -I$(obj)/nss_hal/include -I$(obj)/exports -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1792 -DNSS_PKT_STATS_ENABLED=0 |
Abhishek Rastogi | 9ddaaf0 | 2013-12-08 15:49:00 +0530 | [diff] [blame] | 76 | ccflags-y += -DNSS_CONNMGR_DEBUG_LEVEL=0 -DNSS_CONNMGR_PPPOE_SUPPORT=0 |
Bharath M Kumar | 614bbf8 | 2013-08-31 20:18:44 +0530 | [diff] [blame] | 77 | ccflags-y += -DNSS_TUNIPIP6_DEBUG_LEVEL=0 |
Pamidipati, Vijay | 7f413b5 | 2013-09-24 19:07:12 +0530 | [diff] [blame] | 78 | ccflags-y += -DNSS_PM_DEBUG_LEVEL=0 |
Samarjeet Banerjee | 7733231 | 2014-08-07 14:48:22 +0530 | [diff] [blame^] | 79 | ccflags-y += -I$(srctree)/net/bridge -DNSSQDISC_DEBUG_LEVEL=0 |
| 80 | ccflags-y += -DNSS_IPSECMGR_DEBUG_LEVEL=3 |
Pamidipati, Vijay | c6ae566 | 2013-06-10 11:03:55 +0530 | [diff] [blame] | 81 | |
Guojun Jin | 20c98ad | 2014-05-02 14:08:48 -0700 | [diff] [blame] | 82 | obj-y+= profiler/ |
Sakthi Vignesh Radhakrishnan | 3d1b0a1 | 2014-07-08 16:57:28 -0700 | [diff] [blame] | 83 | obj-y+= nss_qdisc/ |
Guojun Jin | 20c98ad | 2014-05-02 14:08:48 -0700 | [diff] [blame] | 84 | |
Pamidipati, Vijay | c6ae566 | 2013-06-10 11:03:55 +0530 | [diff] [blame] | 85 | obj ?= . |
Abhishek Rastogi | bc74e43 | 2013-04-02 10:28:22 +0530 | [diff] [blame] | 86 | |
| 87 | ifeq "$(CONFIG_ARCH_IPQ806X)" "y" |
| 88 | qca-nss-drv-objs += nss_hal/ipq806x/nss_hal_pvt.o |
Abhishek Rastogi | 38cffff | 2013-06-02 11:25:47 +0530 | [diff] [blame] | 89 | ccflags-y += -I$(obj)/nss_hal/ipq806x |
Abhishek Rastogi | bc74e43 | 2013-04-02 10:28:22 +0530 | [diff] [blame] | 90 | endif |