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 \ |
Sachin Shashidhar | 07b0061 | 2018-05-18 15:10:50 -0700 | [diff] [blame] | 11 | nss_bridge_log.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 12 | nss_capwap.o \ |
Sachin Shashidhar | e6babc5 | 2018-05-29 15:20:40 -0700 | [diff] [blame] | 13 | nss_capwap_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 14 | nss_capwap_stats.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 15 | nss_cmn.o \ |
16 | nss_core.o \ | ||||
Guojun Jin | f3588a8 | 2015-07-05 22:01:22 -0700 | [diff] [blame] | 17 | nss_coredump.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 18 | nss_crypto.o \ |
Sachin Shashidhar | 1bc9e68 | 2018-05-30 15:36:12 -0700 | [diff] [blame] | 19 | nss_crypto_log.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 20 | nss_dtls.o \ |
Sachin Shashidhar | dd91a4d | 2018-06-04 14:52:12 -0700 | [diff] [blame] | 21 | nss_dtls_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 22 | nss_dtls_stats.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 23 | nss_dynamic_interface.o \ |
Sachin Shashidhar | 0aa9615 | 2018-06-05 16:57:49 -0700 | [diff] [blame] | 24 | nss_dynamic_interface_log.o \ |
Arunkumar T | 7fb3bcc | 2017-03-15 19:38:36 +0530 | [diff] [blame] | 25 | nss_edma.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 26 | nss_edma_stats.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 27 | nss_eth_rx.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 28 | nss_eth_rx_stats.o \ |
Arunkumar T | fda21a8 | 2017-05-15 18:20:11 +0530 | [diff] [blame] | 29 | nss_gre.o \ |
Sachin Shashidhar | 159a64a | 2018-07-31 16:16:51 -0700 | [diff] [blame] | 30 | nss_gre_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 31 | nss_gre_stats.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 32 | nss_gre_redir.o \ |
Sachin Shashidhar | 3d890cf | 2018-07-31 20:13:52 -0700 | [diff] [blame] | 33 | nss_gre_redir_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 34 | nss_gre_redir_stats.o \ |
Arunkumar T | 5fc2cd6 | 2016-09-01 15:03:12 +0530 | [diff] [blame] | 35 | nss_gre_tunnel.o \ |
Sachin Shashidhar | 37dbc0f | 2018-08-06 12:31:18 -0700 | [diff] [blame] | 36 | nss_gre_tunnel_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 37 | nss_gre_tunnel_stats.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 38 | nss_if.o \ |
39 | nss_init.o \ | ||||
40 | nss_ipsec.o \ | ||||
Sachin Shashidhar | 19accfa | 2018-08-06 13:35:28 -0700 | [diff] [blame] | 41 | nss_ipsec_log.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 42 | nss_ipv4.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 43 | nss_ipv4_stats.o \ |
Suruchi Agarwal | e3940e7 | 2016-07-06 15:56:51 -0700 | [diff] [blame] | 44 | nss_ipv4_log.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 45 | nss_ipv4_reasm.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 46 | nss_ipv4_reasm_stats.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 47 | nss_ipv6.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 48 | nss_ipv6_stats.o \ |
Suruchi Agarwal | e3940e7 | 2016-07-06 15:56:51 -0700 | [diff] [blame] | 49 | nss_ipv6_log.o \ |
Selin Dag | 60a2f5b | 2015-06-29 14:39:49 -0700 | [diff] [blame] | 50 | nss_ipv6_reasm.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 51 | nss_ipv6_reasm_stats.o \ |
Arunkumar | a7605d7 | 2015-09-21 20:42:27 +0530 | [diff] [blame] | 52 | nss_l2tpv2.o \ |
Sachin Shashidhar | 015c28a | 2018-08-06 19:11:00 -0700 | [diff] [blame] | 53 | nss_l2tpv2_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 54 | nss_l2tpv2_stats.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 55 | nss_lag.o \ |
Sachin Shashidhar | 384d2aa | 2018-08-06 19:27:55 -0700 | [diff] [blame] | 56 | nss_lag_log.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 57 | nss_log.o \ |
58 | nss_lso_rx.o \ | ||||
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 59 | nss_lso_rx_stats.o \ |
mandrw | c674490 | 2016-04-04 12:23:36 +0530 | [diff] [blame] | 60 | nss_map_t.o \ |
Sachin Shashidhar | ba18a4f | 2018-08-07 10:45:19 -0700 | [diff] [blame] | 61 | nss_map_t_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 62 | nss_map_t_stats.o \ |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 63 | nss_n2h.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 64 | nss_n2h_stats.o \ |
Sivanesan Rajapupathi | 5c31b21 | 2016-01-06 16:21:57 -0500 | [diff] [blame] | 65 | nss_oam.o \ |
Sachin Shashidhar | a802cc3 | 2018-08-07 11:06:17 -0700 | [diff] [blame] | 66 | nss_oam_log.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 67 | nss_phys_if.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 68 | nss_pm.o \ |
Arunkumar T | 7fb3bcc | 2017-03-15 19:38:36 +0530 | [diff] [blame] | 69 | nss_profiler.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 70 | nss_portid.o \ |
Sachin Shashidhar | 3a44136 | 2018-08-07 16:48:53 -0700 | [diff] [blame] | 71 | nss_portid_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 72 | nss_portid_stats.o \ |
Arunkumar T | 7fb3bcc | 2017-03-15 19:38:36 +0530 | [diff] [blame] | 73 | nss_ppe.o \ |
Sachin Shashidhar | dd7229c | 2018-08-07 17:33:42 -0700 | [diff] [blame] | 74 | nss_ppe_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 75 | nss_ppe_stats.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 76 | nss_pppoe.o \ |
Sachin Shashidhar | 626131e | 2018-08-08 11:29:58 -0700 | [diff] [blame] | 77 | nss_pppoe_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 78 | nss_pppoe_stats.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 79 | nss_pptp.o \ |
Sachin Shashidhar | 94beadf | 2018-08-08 11:43:54 -0700 | [diff] [blame] | 80 | nss_pptp_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 81 | nss_pptp_stats.o \ |
Cemil Coskun | 9165c76 | 2017-12-04 14:35:24 -0800 | [diff] [blame] | 82 | nss_rps.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 83 | nss_shaper.o \ |
84 | nss_sjack.o \ | ||||
Sachin Shashidhar | 1f8ccf8 | 2018-08-08 14:32:13 -0700 | [diff] [blame] | 85 | nss_sjack_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 86 | nss_sjack_stats.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 87 | nss_stats.o \ |
88 | nss_tstamp.o \ | ||||
Cemil Coskun | 58d2773 | 2019-05-22 13:39:14 -0700 | [diff] [blame] | 89 | nss_tstamp_stats.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 90 | nss_tun6rd.o \ |
Sachin Shashidhar | 4743045 | 2018-08-13 16:36:18 -0700 | [diff] [blame] | 91 | nss_tun6rd_log.o \ |
Arunkumar T | 7fb3bcc | 2017-03-15 19:38:36 +0530 | [diff] [blame] | 92 | nss_trustsec_tx.o \ |
Sachin Shashidhar | 9128748 | 2018-08-13 15:32:39 -0700 | [diff] [blame] | 93 | nss_trustsec_tx_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 94 | nss_trustsec_tx_stats.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 95 | nss_tunipip6.o \ |
Sachin Shashidhar | 4529cea | 2018-08-13 16:58:32 -0700 | [diff] [blame] | 96 | nss_tunipip6_log.o \ |
Jackson Bockus | b40398c | 2017-10-03 11:01:37 -0700 | [diff] [blame] | 97 | nss_unaligned.o \ |
98 | nss_unaligned_log.o \ | ||||
99 | nss_unaligned_stats.o \ | ||||
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 100 | nss_virt_if.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 101 | nss_virt_if_stats.o \ |
Arunkumar T | 7fb3bcc | 2017-03-15 19:38:36 +0530 | [diff] [blame] | 102 | nss_vlan.o \ |
Sachin Shashidhar | adca0c8 | 2018-08-19 18:42:22 -0700 | [diff] [blame] | 103 | nss_vlan_log.o \ |
Arunkumar T | 2d99a49 | 2015-08-31 19:29:48 +0530 | [diff] [blame] | 104 | nss_wifi.o \ |
Sachin Shashidhar | 9449ad1 | 2018-08-19 22:08:01 -0700 | [diff] [blame] | 105 | nss_wifi_log.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 106 | nss_wifi_stats.o \ |
Rakesh Nair | c9cc58e | 2015-08-07 15:07:36 +0530 | [diff] [blame] | 107 | nss_wifi_if.o \ |
Yu Huang | 8c10708 | 2017-07-24 14:58:26 -0700 | [diff] [blame] | 108 | nss_wifi_if_stats.o \ |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 109 | nss_wifi_vdev.o |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 110 | |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 111 | qca-nss-drv-objs += nss_hal/nss_hal.o |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 112 | qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o |
Stephen Wang | 5901def | 2016-05-09 16:21:03 -0700 | [diff] [blame] | 113 | qca-nss-drv-objs += nss_data_plane/nss_data_plane.o |
114 | qca-nss-drv-objs += nss_data_plane/nss_data_plane_gmac.o | ||||
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 115 | |
116 | ccflags-y += -I$(obj)/nss_hal/include | ||||
Stephen Wang | 5901def | 2016-05-09 16:21:03 -0700 | [diff] [blame] | 117 | ccflags-y += -I$(obj)/nss_data_plane/include |
Arunkumar T | 8ebe153 | 2015-06-10 16:01:53 +0530 | [diff] [blame] | 118 | ccflags-y += -I$(obj)/exports |
Stephen Wang | 90c67de | 2016-04-26 15:15:59 -0700 | [diff] [blame] | 119 | ccflags-y += -I$(obj)/nss_hal/fsm9010 -DNSS_HAL_FSM9010_SUPPORT |
pavir | f22fa14 | 2019-01-08 17:33:05 +0530 | [diff] [blame] | 120 | ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_PKT_STATS_ENABLED=1 |
Thomas Wu | 6d90b41 | 2018-07-10 11:38:35 -0700 | [diff] [blame] | 121 | ccflags-y += -DNSS_DT_SUPPORT=1 -DNSS_PM_SUPPORT=0 -DNSS_FW_DBG_SUPPORT=0 -DNSS_SKB_REUSE_SUPPORT=0 |
Anish Nataraj | 05d31f6 | 2016-08-17 17:07:14 +0530 | [diff] [blame] | 122 | ccflags-y += -DNSS_PPP_SUPPORT=0 -DNSS_FREQ_SCALE_SUPPORT=0 -DNSS_FABRIC_SCALING_SUPPORT=0 |