blob: 2be7b157f981ec4d98328339b058756f915cb264 [file] [log] [blame]
Arunkumar T8ebe1532015-06-10 16:01:53 +05301# ###################################################
2# # Makefile for the NSS driver
3# ###################################################
4obj-m += qca-nss-drv.o
5
6#
7# List the files that belong to the driver in alphabetical order.
8#
9qca-nss-drv-objs := \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053010 nss_bridge.o \
Sachin Shashidhar07b00612018-05-18 15:10:50 -070011 nss_bridge_log.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070012 nss_capwap.o \
Sachin Shashidhare6babc52018-05-29 15:20:40 -070013 nss_capwap_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070014 nss_capwap_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053015 nss_cmn.o \
16 nss_core.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070017 nss_coredump.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053018 nss_crypto.o \
Sachin Shashidhar1bc9e682018-05-30 15:36:12 -070019 nss_crypto_log.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070020 nss_dtls.o \
Sachin Shashidhardd91a4d2018-06-04 14:52:12 -070021 nss_dtls_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070022 nss_dtls_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053023 nss_dynamic_interface.o \
Sachin Shashidhar0aa96152018-06-05 16:57:49 -070024 nss_dynamic_interface_log.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053025 nss_edma.o \
Yu Huang8c107082017-07-24 14:58:26 -070026 nss_edma_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070027 nss_eth_rx.o \
Yu Huang8c107082017-07-24 14:58:26 -070028 nss_eth_rx_stats.o \
Arunkumar Tfda21a82017-05-15 18:20:11 +053029 nss_gre.o \
Sachin Shashidhar159a64a2018-07-31 16:16:51 -070030 nss_gre_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070031 nss_gre_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053032 nss_gre_redir.o \
Sachin Shashidhar3d890cf2018-07-31 20:13:52 -070033 nss_gre_redir_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070034 nss_gre_redir_stats.o \
Arunkumar T5fc2cd62016-09-01 15:03:12 +053035 nss_gre_tunnel.o \
Sachin Shashidhar37dbc0f2018-08-06 12:31:18 -070036 nss_gre_tunnel_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070037 nss_gre_tunnel_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053038 nss_if.o \
39 nss_init.o \
40 nss_ipsec.o \
Sachin Shashidhar19accfa2018-08-06 13:35:28 -070041 nss_ipsec_log.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053042 nss_ipv4.o \
Yu Huang8c107082017-07-24 14:58:26 -070043 nss_ipv4_stats.o \
Suruchi Agarwale3940e72016-07-06 15:56:51 -070044 nss_ipv4_log.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053045 nss_ipv4_reasm.o \
Yu Huang8c107082017-07-24 14:58:26 -070046 nss_ipv4_reasm_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053047 nss_ipv6.o \
Yu Huang8c107082017-07-24 14:58:26 -070048 nss_ipv6_stats.o \
Suruchi Agarwale3940e72016-07-06 15:56:51 -070049 nss_ipv6_log.o \
Selin Dag60a2f5b2015-06-29 14:39:49 -070050 nss_ipv6_reasm.o \
Yu Huang8c107082017-07-24 14:58:26 -070051 nss_ipv6_reasm_stats.o \
Arunkumara7605d72015-09-21 20:42:27 +053052 nss_l2tpv2.o \
Sachin Shashidhar015c28a2018-08-06 19:11:00 -070053 nss_l2tpv2_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070054 nss_l2tpv2_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070055 nss_lag.o \
Sachin Shashidhar384d2aa2018-08-06 19:27:55 -070056 nss_lag_log.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070057 nss_log.o \
58 nss_lso_rx.o \
Yu Huang8c107082017-07-24 14:58:26 -070059 nss_lso_rx_stats.o \
mandrwc6744902016-04-04 12:23:36 +053060 nss_map_t.o \
Sachin Shashidharba18a4f2018-08-07 10:45:19 -070061 nss_map_t_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070062 nss_map_t_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053063 nss_n2h.o \
Yu Huang8c107082017-07-24 14:58:26 -070064 nss_n2h_stats.o \
Sivanesan Rajapupathi5c31b212016-01-06 16:21:57 -050065 nss_oam.o \
Sachin Shashidhara802cc32018-08-07 11:06:17 -070066 nss_oam_log.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070067 nss_phys_if.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070068 nss_pm.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053069 nss_profiler.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070070 nss_portid.o \
Sachin Shashidhar3a441362018-08-07 16:48:53 -070071 nss_portid_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070072 nss_portid_stats.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053073 nss_ppe.o \
Sachin Shashidhardd7229c2018-08-07 17:33:42 -070074 nss_ppe_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070075 nss_ppe_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070076 nss_pppoe.o \
Sachin Shashidhar626131e2018-08-08 11:29:58 -070077 nss_pppoe_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070078 nss_pppoe_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070079 nss_pptp.o \
Sachin Shashidhar94beadf2018-08-08 11:43:54 -070080 nss_pptp_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070081 nss_pptp_stats.o \
Cemil Coskun9165c762017-12-04 14:35:24 -080082 nss_rps.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070083 nss_shaper.o \
84 nss_sjack.o \
Sachin Shashidhar1f8ccf82018-08-08 14:32:13 -070085 nss_sjack_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070086 nss_sjack_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070087 nss_stats.o \
88 nss_tstamp.o \
Cemil Coskun58d27732019-05-22 13:39:14 -070089 nss_tstamp_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070090 nss_tun6rd.o \
Sachin Shashidhar47430452018-08-13 16:36:18 -070091 nss_tun6rd_log.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053092 nss_trustsec_tx.o \
Sachin Shashidhar91287482018-08-13 15:32:39 -070093 nss_trustsec_tx_log.o \
Yu Huang8c107082017-07-24 14:58:26 -070094 nss_trustsec_tx_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070095 nss_tunipip6.o \
Sachin Shashidhar4529cea2018-08-13 16:58:32 -070096 nss_tunipip6_log.o \
Jackson Bockusb40398c2017-10-03 11:01:37 -070097 nss_unaligned.o \
98 nss_unaligned_log.o \
99 nss_unaligned_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -0700100 nss_virt_if.o \
Yu Huang8c107082017-07-24 14:58:26 -0700101 nss_virt_if_stats.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +0530102 nss_vlan.o \
Sachin Shashidharadca0c82018-08-19 18:42:22 -0700103 nss_vlan_log.o \
Arunkumar T2d99a492015-08-31 19:29:48 +0530104 nss_wifi.o \
Sachin Shashidhar9449ad12018-08-19 22:08:01 -0700105 nss_wifi_log.o \
Yu Huang8c107082017-07-24 14:58:26 -0700106 nss_wifi_stats.o \
Rakesh Nairc9cc58e2015-08-07 15:07:36 +0530107 nss_wifi_if.o \
Yu Huang8c107082017-07-24 14:58:26 -0700108 nss_wifi_if_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -0700109 nss_wifi_vdev.o
Arunkumar T8ebe1532015-06-10 16:01:53 +0530110
Stephen Wang90c67de2016-04-26 15:15:59 -0700111qca-nss-drv-objs += nss_hal/nss_hal.o
Arunkumar T8ebe1532015-06-10 16:01:53 +0530112qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o
Stephen Wang5901def2016-05-09 16:21:03 -0700113qca-nss-drv-objs += nss_data_plane/nss_data_plane.o
114qca-nss-drv-objs += nss_data_plane/nss_data_plane_gmac.o
Arunkumar T8ebe1532015-06-10 16:01:53 +0530115
116ccflags-y += -I$(obj)/nss_hal/include
Stephen Wang5901def2016-05-09 16:21:03 -0700117ccflags-y += -I$(obj)/nss_data_plane/include
Arunkumar T8ebe1532015-06-10 16:01:53 +0530118ccflags-y += -I$(obj)/exports
Stephen Wang90c67de2016-04-26 15:15:59 -0700119ccflags-y += -I$(obj)/nss_hal/fsm9010 -DNSS_HAL_FSM9010_SUPPORT
pavirf22fa142019-01-08 17:33:05 +0530120ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_PKT_STATS_ENABLED=1
Thomas Wu6d90b412018-07-10 11:38:35 -0700121ccflags-y += -DNSS_DT_SUPPORT=1 -DNSS_PM_SUPPORT=0 -DNSS_FW_DBG_SUPPORT=0 -DNSS_SKB_REUSE_SUPPORT=0
Anish Nataraj05d31f62016-08-17 17:07:14 +0530122ccflags-y += -DNSS_PPP_SUPPORT=0 -DNSS_FREQ_SCALE_SUPPORT=0 -DNSS_FABRIC_SCALING_SUPPORT=0