Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 1 | # ################################################### |
| 2 | # # Makefile for the NSS driver |
| 3 | # ################################################### |
| 4 | obj-m += qca-nss-drv.o |
| 5 | |
| 6 | # |
| 7 | # List the files that belong to the driver in alphabetical order. |
| 8 | # |
| 9 | qca-nss-drv-objs := \ |
Arunkumar T | 7fb3bcc | 2017-03-15 19:38:36 +0530 | [diff] [blame] | 10 | nss_bridge.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 11 | nss_capwap.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 12 | nss_cmn.o \ |
| 13 | nss_core.o \ |
Guojun Jin | f3588a8 | 2015-07-05 22:01:22 -0700 | [diff] [blame] | 14 | nss_coredump.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 15 | nss_crypto.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 16 | nss_dtls.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 17 | nss_dynamic_interface.o \ |
Arunkumar T | 7fb3bcc | 2017-03-15 19:38:36 +0530 | [diff] [blame] | 18 | nss_edma.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 19 | nss_eth_rx.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 20 | nss_gre_redir.o \ |
Arunkumar T | 5fc2cd6 | 2016-09-01 15:03:12 +0530 | [diff] [blame] | 21 | nss_gre_tunnel.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 22 | nss_if.o \ |
| 23 | nss_init.o \ |
| 24 | nss_ipsec.o \ |
| 25 | nss_ipv4.o \ |
Suruchi Agarwal | e3940e7 | 2016-07-06 15:56:51 -0700 | [diff] [blame] | 26 | nss_ipv4_log.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 27 | nss_ipv4_reasm.o \ |
| 28 | nss_ipv6.o \ |
Suruchi Agarwal | e3940e7 | 2016-07-06 15:56:51 -0700 | [diff] [blame] | 29 | nss_ipv6_log.o \ |
Selin Dag | 60a2f5b | 2015-06-29 14:39:49 -0700 | [diff] [blame] | 30 | nss_ipv6_reasm.o \ |
Arunkumar | a7605d7 | 2015-09-21 20:42:27 +0530 | [diff] [blame] | 31 | nss_l2tpv2.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 32 | nss_lag.o \ |
| 33 | nss_log.o \ |
| 34 | nss_lso_rx.o \ |
mandrw | c674490 | 2016-04-04 12:23:36 +0530 | [diff] [blame] | 35 | nss_map_t.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 36 | nss_n2h.o \ |
Sivanesan Rajapupathi | 5c31b21 | 2016-01-06 16:21:57 -0500 | [diff] [blame] | 37 | nss_oam.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 38 | nss_phys_if.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 39 | nss_pm.o \ |
Arunkumar T | 7fb3bcc | 2017-03-15 19:38:36 +0530 | [diff] [blame] | 40 | nss_profiler.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 41 | nss_portid.o \ |
Arunkumar T | 7fb3bcc | 2017-03-15 19:38:36 +0530 | [diff] [blame] | 42 | nss_ppe.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 43 | nss_pppoe.o \ |
| 44 | nss_pptp.o \ |
| 45 | nss_shaper.o \ |
| 46 | nss_sjack.o \ |
| 47 | nss_stats.o \ |
| 48 | nss_tstamp.o \ |
| 49 | nss_tun6rd.o \ |
Arunkumar T | 7fb3bcc | 2017-03-15 19:38:36 +0530 | [diff] [blame] | 50 | nss_trustsec_tx.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 51 | nss_tunipip6.o \ |
| 52 | nss_virt_if.o \ |
Arunkumar T | 7fb3bcc | 2017-03-15 19:38:36 +0530 | [diff] [blame] | 53 | nss_vlan.o \ |
Arunkumar T | 2d99a49 | 2015-08-31 19:29:48 +0530 | [diff] [blame] | 54 | nss_wifi.o \ |
Rakesh Nair | c9cc58e | 2015-08-07 15:07:36 +0530 | [diff] [blame] | 55 | nss_wifi_if.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 56 | nss_wifi_vdev.o |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 57 | |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 58 | # |
| 59 | # TODO: Deprecated files should be removed before merge |
| 60 | # |
| 61 | qca-nss-drv-objs += nss_tx_rx_virt_if.o |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 62 | |
| 63 | qca-nss-drv-objs += nss_hal/nss_hal.o |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 64 | qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o |
Stephen Wang | 5901def | 2016-05-09 16:21:03 -0700 | [diff] [blame] | 65 | qca-nss-drv-objs += nss_data_plane/nss_data_plane.o |
| 66 | qca-nss-drv-objs += nss_data_plane/nss_data_plane_gmac.o |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 67 | |
| 68 | ccflags-y += -I$(obj)/nss_hal/include |
Stephen Wang | 5901def | 2016-05-09 16:21:03 -0700 | [diff] [blame] | 69 | ccflags-y += -I$(obj)/nss_data_plane/include |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 70 | ccflags-y += -I$(obj)/exports |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 71 | ccflags-y += -I$(obj)/nss_hal/fsm9010 -DNSS_HAL_FSM9010_SUPPORT |
Arunkumar T | 527492b | 2016-04-15 10:53:29 +0530 | [diff] [blame] | 72 | ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1984 -DNSS_PKT_STATS_ENABLED=1 |
Anish Nataraj | 05d31f6 | 2016-08-17 17:07:14 +0530 | [diff] [blame] | 73 | ccflags-y += -DNSS_DT_SUPPORT=1 -DNSS_PM_SUPPORT=0 -DNSS_FW_DBG_SUPPORT=0 -DNSS_SKB_RECYCLE_SUPPORT=0 |
| 74 | ccflags-y += -DNSS_PPP_SUPPORT=0 -DNSS_FREQ_SCALE_SUPPORT=0 -DNSS_FABRIC_SCALING_SUPPORT=0 |