blob: 466b483ab8f18244675b21449224e8b2023f3d4f [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 \
Yu Huang8c107082017-07-24 14:58:26 -070013 nss_capwap_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053014 nss_cmn.o \
15 nss_core.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070016 nss_coredump.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053017 nss_crypto.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070018 nss_dtls.o \
Yu Huang8c107082017-07-24 14:58:26 -070019 nss_dtls_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053020 nss_dynamic_interface.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053021 nss_edma.o \
Yu Huang8c107082017-07-24 14:58:26 -070022 nss_edma_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070023 nss_eth_rx.o \
Yu Huang8c107082017-07-24 14:58:26 -070024 nss_eth_rx_stats.o \
Arunkumar Tfda21a82017-05-15 18:20:11 +053025 nss_gre.o \
Yu Huang8c107082017-07-24 14:58:26 -070026 nss_gre_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053027 nss_gre_redir.o \
Yu Huang8c107082017-07-24 14:58:26 -070028 nss_gre_redir_stats.o \
Arunkumar T5fc2cd62016-09-01 15:03:12 +053029 nss_gre_tunnel.o \
Yu Huang8c107082017-07-24 14:58:26 -070030 nss_gre_tunnel_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053031 nss_if.o \
32 nss_init.o \
33 nss_ipsec.o \
34 nss_ipv4.o \
Yu Huang8c107082017-07-24 14:58:26 -070035 nss_ipv4_stats.o \
Suruchi Agarwale3940e72016-07-06 15:56:51 -070036 nss_ipv4_log.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053037 nss_ipv4_reasm.o \
Yu Huang8c107082017-07-24 14:58:26 -070038 nss_ipv4_reasm_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053039 nss_ipv6.o \
Yu Huang8c107082017-07-24 14:58:26 -070040 nss_ipv6_stats.o \
Suruchi Agarwale3940e72016-07-06 15:56:51 -070041 nss_ipv6_log.o \
Selin Dag60a2f5b2015-06-29 14:39:49 -070042 nss_ipv6_reasm.o \
Yu Huang8c107082017-07-24 14:58:26 -070043 nss_ipv6_reasm_stats.o \
Arunkumara7605d72015-09-21 20:42:27 +053044 nss_l2tpv2.o \
Yu Huang8c107082017-07-24 14:58:26 -070045 nss_l2tpv2_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070046 nss_lag.o \
47 nss_log.o \
48 nss_lso_rx.o \
Yu Huang8c107082017-07-24 14:58:26 -070049 nss_lso_rx_stats.o \
mandrwc6744902016-04-04 12:23:36 +053050 nss_map_t.o \
Yu Huang8c107082017-07-24 14:58:26 -070051 nss_map_t_stats.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053052 nss_n2h.o \
Yu Huang8c107082017-07-24 14:58:26 -070053 nss_n2h_stats.o \
Sivanesan Rajapupathi5c31b212016-01-06 16:21:57 -050054 nss_oam.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070055 nss_phys_if.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070056 nss_pm.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053057 nss_profiler.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070058 nss_portid.o \
Yu Huang8c107082017-07-24 14:58:26 -070059 nss_portid_stats.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053060 nss_ppe.o \
Yu Huang8c107082017-07-24 14:58:26 -070061 nss_ppe_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070062 nss_pppoe.o \
Yu Huang8c107082017-07-24 14:58:26 -070063 nss_pppoe_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070064 nss_pptp.o \
Yu Huang8c107082017-07-24 14:58:26 -070065 nss_pptp_stats.o \
Cemil Coskun9165c762017-12-04 14:35:24 -080066 nss_rps.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070067 nss_shaper.o \
68 nss_sjack.o \
Yu Huang8c107082017-07-24 14:58:26 -070069 nss_sjack_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070070 nss_stats.o \
71 nss_tstamp.o \
72 nss_tun6rd.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053073 nss_trustsec_tx.o \
Yu Huang8c107082017-07-24 14:58:26 -070074 nss_trustsec_tx_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070075 nss_tunipip6.o \
76 nss_virt_if.o \
Yu Huang8c107082017-07-24 14:58:26 -070077 nss_virt_if_stats.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053078 nss_vlan.o \
Arunkumar T2d99a492015-08-31 19:29:48 +053079 nss_wifi.o \
Yu Huang8c107082017-07-24 14:58:26 -070080 nss_wifi_stats.o \
Rakesh Nairc9cc58e2015-08-07 15:07:36 +053081 nss_wifi_if.o \
Yu Huang8c107082017-07-24 14:58:26 -070082 nss_wifi_if_stats.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070083 nss_wifi_vdev.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053084
Stephen Wang90c67de2016-04-26 15:15:59 -070085qca-nss-drv-objs += nss_hal/nss_hal.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053086qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o
Stephen Wang5901def2016-05-09 16:21:03 -070087qca-nss-drv-objs += nss_data_plane/nss_data_plane.o
88qca-nss-drv-objs += nss_data_plane/nss_data_plane_gmac.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053089
90ccflags-y += -I$(obj)/nss_hal/include
Stephen Wang5901def2016-05-09 16:21:03 -070091ccflags-y += -I$(obj)/nss_data_plane/include
Arunkumar T8ebe1532015-06-10 16:01:53 +053092ccflags-y += -I$(obj)/exports
Stephen Wang90c67de2016-04-26 15:15:59 -070093ccflags-y += -I$(obj)/nss_hal/fsm9010 -DNSS_HAL_FSM9010_SUPPORT
Arunkumar T527492b2016-04-15 10:53:29 +053094ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1984 -DNSS_PKT_STATS_ENABLED=1
Thomas Wu6d90b412018-07-10 11:38:35 -070095ccflags-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 +053096ccflags-y += -DNSS_PPP_SUPPORT=0 -DNSS_FREQ_SCALE_SUPPORT=0 -DNSS_FABRIC_SCALING_SUPPORT=0