blob: 3256ce7199cc2069efce9d96a7d5346dfb202ee5 [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 \
Arunkumar T8ebe1532015-06-10 16:01:53 +053012 nss_cmn.o \
13 nss_core.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070014 nss_coredump.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053015 nss_crypto.o \
Murat Sezgin0497bfb2017-06-19 16:35:01 -070016 nss_dscp2pri.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070017 nss_dtls.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053018 nss_dynamic_interface.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053019 nss_edma.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070020 nss_eth_rx.o \
Arunkumar Tfda21a82017-05-15 18:20:11 +053021 nss_gre.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053022 nss_gre_redir.o \
Arunkumar T5fc2cd62016-09-01 15:03:12 +053023 nss_gre_tunnel.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053024 nss_if.o \
25 nss_init.o \
26 nss_ipsec.o \
27 nss_ipv4.o \
Suruchi Agarwale3940e72016-07-06 15:56:51 -070028 nss_ipv4_log.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053029 nss_ipv4_reasm.o \
30 nss_ipv6.o \
Suruchi Agarwale3940e72016-07-06 15:56:51 -070031 nss_ipv6_log.o \
Selin Dag60a2f5b2015-06-29 14:39:49 -070032 nss_ipv6_reasm.o \
Arunkumara7605d72015-09-21 20:42:27 +053033 nss_l2tpv2.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070034 nss_lag.o \
35 nss_log.o \
36 nss_lso_rx.o \
mandrwc6744902016-04-04 12:23:36 +053037 nss_map_t.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053038 nss_n2h.o \
Sivanesan Rajapupathi5c31b212016-01-06 16:21:57 -050039 nss_oam.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070040 nss_phys_if.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070041 nss_pm.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053042 nss_profiler.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070043 nss_portid.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053044 nss_ppe.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070045 nss_pppoe.o \
46 nss_pptp.o \
47 nss_shaper.o \
48 nss_sjack.o \
49 nss_stats.o \
50 nss_tstamp.o \
51 nss_tun6rd.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053052 nss_trustsec_tx.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070053 nss_tunipip6.o \
54 nss_virt_if.o \
Arunkumar T7fb3bcc2017-03-15 19:38:36 +053055 nss_vlan.o \
Arunkumar T2d99a492015-08-31 19:29:48 +053056 nss_wifi.o \
Rakesh Nairc9cc58e2015-08-07 15:07:36 +053057 nss_wifi_if.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070058 nss_wifi_vdev.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053059
Arunkumar T8ebe1532015-06-10 16:01:53 +053060#
61# TODO: Deprecated files should be removed before merge
62#
63qca-nss-drv-objs += nss_tx_rx_virt_if.o
Stephen Wang90c67de2016-04-26 15:15:59 -070064
65qca-nss-drv-objs += nss_hal/nss_hal.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053066qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o
Stephen Wang5901def2016-05-09 16:21:03 -070067qca-nss-drv-objs += nss_data_plane/nss_data_plane.o
68qca-nss-drv-objs += nss_data_plane/nss_data_plane_gmac.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053069
70ccflags-y += -I$(obj)/nss_hal/include
Stephen Wang5901def2016-05-09 16:21:03 -070071ccflags-y += -I$(obj)/nss_data_plane/include
Arunkumar T8ebe1532015-06-10 16:01:53 +053072ccflags-y += -I$(obj)/exports
Stephen Wang90c67de2016-04-26 15:15:59 -070073ccflags-y += -I$(obj)/nss_hal/fsm9010 -DNSS_HAL_FSM9010_SUPPORT
Arunkumar T527492b2016-04-15 10:53:29 +053074ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1984 -DNSS_PKT_STATS_ENABLED=1
Anish Nataraj05d31f62016-08-17 17:07:14 +053075ccflags-y += -DNSS_DT_SUPPORT=1 -DNSS_PM_SUPPORT=0 -DNSS_FW_DBG_SUPPORT=0 -DNSS_SKB_RECYCLE_SUPPORT=0
76ccflags-y += -DNSS_PPP_SUPPORT=0 -DNSS_FREQ_SCALE_SUPPORT=0 -DNSS_FABRIC_SCALING_SUPPORT=0