blob: f8401be9c15563a9ea24a3622f7ffa4b31eb5e8e [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 := \
Stephen Wang90c67de2016-04-26 15:15:59 -070010 nss_capwap.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053011 nss_cmn.o \
12 nss_core.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070013 nss_coredump.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053014 nss_crypto.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053015 nss_data_plane.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070016 nss_dtls.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053017 nss_dynamic_interface.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070018 nss_eth_rx.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053019 nss_gre_redir.o \
20 nss_if.o \
21 nss_init.o \
22 nss_ipsec.o \
23 nss_ipv4.o \
24 nss_ipv4_reasm.o \
25 nss_ipv6.o \
Selin Dag60a2f5b2015-06-29 14:39:49 -070026 nss_ipv6_reasm.o \
Arunkumara7605d72015-09-21 20:42:27 +053027 nss_l2tpv2.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070028 nss_lag.o \
29 nss_log.o \
30 nss_lso_rx.o \
mandrwc6744902016-04-04 12:23:36 +053031 nss_map_t.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053032 nss_n2h.o \
Sivanesan Rajapupathi5c31b212016-01-06 16:21:57 -050033 nss_oam.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070034 nss_phys_if.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070035 nss_profiler.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070036 nss_pm.o \
37 nss_portid.o \
38 nss_pppoe.o \
39 nss_pptp.o \
40 nss_shaper.o \
41 nss_sjack.o \
42 nss_stats.o \
43 nss_tstamp.o \
44 nss_tun6rd.o \
45 nss_tunipip6.o \
46 nss_virt_if.o \
Arunkumar T2d99a492015-08-31 19:29:48 +053047 nss_wifi.o \
Rakesh Nairc9cc58e2015-08-07 15:07:36 +053048 nss_wifi_if.o \
Stephen Wang90c67de2016-04-26 15:15:59 -070049 nss_wifi_vdev.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053050
Arunkumar T8ebe1532015-06-10 16:01:53 +053051#
52# TODO: Deprecated files should be removed before merge
53#
54qca-nss-drv-objs += nss_tx_rx_virt_if.o
Stephen Wang90c67de2016-04-26 15:15:59 -070055
56qca-nss-drv-objs += nss_hal/nss_hal.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053057qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o
58
59ccflags-y += -I$(obj)/nss_hal/include
60ccflags-y += -I$(obj)/nss_hal/
61ccflags-y += -I$(obj)/exports
Stephen Wang90c67de2016-04-26 15:15:59 -070062ccflags-y += -I$(obj)/nss_hal/fsm9010 -DNSS_HAL_FSM9010_SUPPORT
Arunkumar T527492b2016-04-15 10:53:29 +053063ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1984 -DNSS_PKT_STATS_ENABLED=1
Arunkumar T8ebe1532015-06-10 16:01:53 +053064ccflags-y += -DNSS_DT_SUPPORT=1 -DNSS_PM_SUPPORT=0 -DNSS_FW_DBG_SUPPORT=0
Stephen Wang90c67de2016-04-26 15:15:59 -070065ccflags-y += -DNSS_FREQ_SCALE_SUPPORT=0 -DNSS_FABRIC_SCALING_SUPPORT=0