blob: 61f4f1e87a8a51210e49c1b7231507d1145e2e09 [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 \
Stephen Wang90c67de2016-04-26 15:15:59 -070011 nss_capwap.o \
Yu Huang8c107082017-07-24 14:58:26 -070012 nss_capwap_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053013 nss_cmn.o \
14 nss_core.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070015 nss_coredump.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053016 nss_crypto.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070017 nss_dtls.o \
Yu Huang8c107082017-07-24 14:58:26 -070018 nss_dtls_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053019 nss_dynamic_interface.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053020 nss_edma.o \
Yu Huang8c107082017-07-24 14:58:26 -070021 nss_edma_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070022 nss_eth_rx.o \
Yu Huang8c107082017-07-24 14:58:26 -070023 nss_eth_rx_stats.o \
Arunkumar Tfda21a82017-05-15 18:20:11 +053024 nss_gre.o \
Yu Huang8c107082017-07-24 14:58:26 -070025 nss_gre_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053026 nss_gre_redir.o \
Yu Huang8c107082017-07-24 14:58:26 -070027 nss_gre_redir_stats.o \
Arunkumar T5fc2cd62016-09-01 15:03:12 +053028 nss_gre_tunnel.o \
Yu Huang8c107082017-07-24 14:58:26 -070029 nss_gre_tunnel_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053030 nss_if.o \
31 nss_init.o \
32 nss_ipsec.o \
33 nss_ipv4.o \
Yu Huang8c107082017-07-24 14:58:26 -070034 nss_ipv4_stats.o \
Suruchi Agarwale3940e72016-07-06 15:56:51 -070035 nss_ipv4_log.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053036 nss_ipv4_reasm.o \
Yu Huang8c107082017-07-24 14:58:26 -070037 nss_ipv4_reasm_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053038 nss_ipv6.o \
Yu Huang8c107082017-07-24 14:58:26 -070039 nss_ipv6_stats.o \
Suruchi Agarwale3940e72016-07-06 15:56:51 -070040 nss_ipv6_log.o \
Selin Dag60a2f5b2015-06-29 14:39:49 -070041 nss_ipv6_reasm.o \
Yu Huang8c107082017-07-24 14:58:26 -070042 nss_ipv6_reasm_stats.o \
Arunkumara7605d72015-09-21 20:42:27 +053043 nss_l2tpv2.o \
Yu Huang8c107082017-07-24 14:58:26 -070044 nss_l2tpv2_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070045 nss_lag.o \
46 nss_log.o \
47 nss_lso_rx.o \
Yu Huang8c107082017-07-24 14:58:26 -070048 nss_lso_rx_stats.o \
mandrwc6744902016-04-04 12:23:36 +053049 nss_map_t.o \
Yu Huang8c107082017-07-24 14:58:26 -070050 nss_map_t_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053051 nss_n2h.o \
Yu Huang8c107082017-07-24 14:58:26 -070052 nss_n2h_stats.o \
Sivanesan Rajapupathi5c31b212016-01-06 16:21:57 -050053 nss_oam.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070054 nss_phys_if.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070055 nss_pm.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053056 nss_profiler.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070057 nss_portid.o \
Yu Huang8c107082017-07-24 14:58:26 -070058 nss_portid_stats.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053059 nss_ppe.o \
Yu Huang8c107082017-07-24 14:58:26 -070060 nss_ppe_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070061 nss_pppoe.o \
Yu Huang8c107082017-07-24 14:58:26 -070062 nss_pppoe_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070063 nss_pptp.o \
Yu Huang8c107082017-07-24 14:58:26 -070064 nss_pptp_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070065 nss_shaper.o \
66 nss_sjack.o \
Yu Huang8c107082017-07-24 14:58:26 -070067 nss_sjack_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070068 nss_stats.o \
69 nss_tstamp.o \
70 nss_tun6rd.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053071 nss_trustsec_tx.o \
Yu Huang8c107082017-07-24 14:58:26 -070072 nss_trustsec_tx_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070073 nss_tunipip6.o \
74 nss_virt_if.o \
Yu Huang8c107082017-07-24 14:58:26 -070075 nss_virt_if_stats.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053076 nss_vlan.o \
Arunkumar T2d99a492015-08-31 19:29:48 +053077 nss_wifi.o \
Yu Huang8c107082017-07-24 14:58:26 -070078 nss_wifi_stats.o \
Rakesh Nairc9cc58e2015-08-07 15:07:36 +053079 nss_wifi_if.o \
Yu Huang8c107082017-07-24 14:58:26 -070080 nss_wifi_if_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070081 nss_wifi_vdev.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053082
Arunkumar T8ebe1532015-06-10 16:01:53 +053083#
84# TODO: Deprecated files should be removed before merge
85#
Yu Huang8c107082017-07-24 14:58:26 -070086qca-nss-drv-objs += nss_tx_rx_virt_if.o \
87 nss_tx_rx_virt_if_stats.o
Stephen Wang90c67de2016-04-26 15:15:59 -070088
89qca-nss-drv-objs += nss_hal/nss_hal.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053090qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o
Stephen Wang5901def2016-05-09 16:21:03 -070091qca-nss-drv-objs += nss_data_plane/nss_data_plane.o
92qca-nss-drv-objs += nss_data_plane/nss_data_plane_gmac.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053093
94ccflags-y += -I$(obj)/nss_hal/include
Stephen Wang5901def2016-05-09 16:21:03 -070095ccflags-y += -I$(obj)/nss_data_plane/include
Arunkumar T8ebe1532015-06-10 16:01:53 +053096ccflags-y += -I$(obj)/exports
Stephen Wang90c67de2016-04-26 15:15:59 -070097ccflags-y += -I$(obj)/nss_hal/fsm9010 -DNSS_HAL_FSM9010_SUPPORT
Arunkumar T527492b2016-04-15 10:53:29 +053098ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1984 -DNSS_PKT_STATS_ENABLED=1
Anish Nataraj05d31f62016-08-17 17:07:14 +053099ccflags-y += -DNSS_DT_SUPPORT=1 -DNSS_PM_SUPPORT=0 -DNSS_FW_DBG_SUPPORT=0 -DNSS_SKB_RECYCLE_SUPPORT=0
100ccflags-y += -DNSS_PPP_SUPPORT=0 -DNSS_FREQ_SCALE_SUPPORT=0 -DNSS_FABRIC_SCALING_SUPPORT=0