blob: 8511bc600f15f718076412ee50ce9a5ae8d0fc19 [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 := \
10 nss_cmn.o \
11 nss_core.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070012 nss_coredump.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053013 nss_crypto.o \
14 nss_capwap.o \
Tushar Mathurff8741b2015-12-02 20:28:59 +053015 nss_dtls.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053016 nss_lso_rx.o \
17 nss_data_plane.o \
18 nss_dynamic_interface.o \
19 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 \
Arunkumar T8ebe1532015-06-10 16:01:53 +053027 nss_lag.o \
28 nss_phys_if.o \
29 nss_stats.o \
30 nss_tun6rd.o \
Arunkumar T0fc6a982015-11-16 14:09:51 +053031 nss_pptp.o \
Arunkumara7605d72015-09-21 20:42:27 +053032 nss_l2tpv2.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053033 nss_tunipip6.o \
34 nss_virt_if.o \
35 nss_shaper.o \
36 nss_n2h.o \
Sivanesan Rajapupathi5c31b212016-01-06 16:21:57 -050037 nss_oam.o \
Arunkumar T9ab2c6e2015-07-16 15:50:59 +053038 nss_pm.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053039 nss_log.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070040 nss_profiler.o \
Arunkumar T2d99a492015-08-31 19:29:48 +053041 nss_eth_rx.o \
42 nss_wifi.o \
43 nss_wifi_vdev.o \
Rakesh Nairc9cc58e2015-08-07 15:07:36 +053044 nss_wifi_if.o \
45 nss_tstamp.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053046
Arunkumar T8ebe1532015-06-10 16:01:53 +053047#
48# TODO: Deprecated files should be removed before merge
49#
50qca-nss-drv-objs += nss_tx_rx_virt_if.o
51qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o
52
53ccflags-y += -I$(obj)/nss_hal/include
54ccflags-y += -I$(obj)/nss_hal/
55ccflags-y += -I$(obj)/exports
56ccflags-y += -I$(obj)/nss_hal/fsm9010
Arunkumar T8a68bb52015-11-24 15:03:04 +053057ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1984 -DNSS_PKT_STATS_ENABLED=0
Arunkumar T8ebe1532015-06-10 16:01:53 +053058ccflags-y += -DNSS_DT_SUPPORT=1 -DNSS_PM_SUPPORT=0 -DNSS_FW_DBG_SUPPORT=0
Sivanesan Rajapupathi0958b5b2016-03-31 17:11:14 -040059ccflags-y += -DNSS_PPP_SUPPORT=0 -DNSS_FREQ_SCALE_SUPPORT=0 -DNSS_FABRIC_SCALING_SUPPORT=0