blob: 0068b92802a7f955ff710ca968cadae520c4d7b4 [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 \
Suruchi Agarwale3940e72016-07-06 15:56:51 -070024 nss_ipv4_log.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053025 nss_ipv4_reasm.o \
26 nss_ipv6.o \
Suruchi Agarwale3940e72016-07-06 15:56:51 -070027 nss_ipv6_log.o \
Selin Dag60a2f5b2015-06-29 14:39:49 -070028 nss_ipv6_reasm.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053029 nss_lag.o \
30 nss_phys_if.o \
31 nss_stats.o \
32 nss_tun6rd.o \
Arunkumar T0fc6a982015-11-16 14:09:51 +053033 nss_pptp.o \
Arunkumara7605d72015-09-21 20:42:27 +053034 nss_l2tpv2.o \
mandrwc6744902016-04-04 12:23:36 +053035 nss_map_t.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053036 nss_tunipip6.o \
37 nss_virt_if.o \
38 nss_shaper.o \
39 nss_n2h.o \
Sivanesan Rajapupathi5c31b212016-01-06 16:21:57 -050040 nss_oam.o \
Arunkumar T9ab2c6e2015-07-16 15:50:59 +053041 nss_pm.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053042 nss_log.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070043 nss_profiler.o \
Arunkumar T2d99a492015-08-31 19:29:48 +053044 nss_eth_rx.o \
45 nss_wifi.o \
46 nss_wifi_vdev.o \
Rakesh Nairc9cc58e2015-08-07 15:07:36 +053047 nss_wifi_if.o \
48 nss_tstamp.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053049
Arunkumar T8ebe1532015-06-10 16:01:53 +053050#
51# TODO: Deprecated files should be removed before merge
52#
53qca-nss-drv-objs += nss_tx_rx_virt_if.o
54qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o
55
56ccflags-y += -I$(obj)/nss_hal/include
57ccflags-y += -I$(obj)/nss_hal/
58ccflags-y += -I$(obj)/exports
59ccflags-y += -I$(obj)/nss_hal/fsm9010
Arunkumar T527492b2016-04-15 10:53:29 +053060ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1984 -DNSS_PKT_STATS_ENABLED=1
Arunkumar T8ebe1532015-06-10 16:01:53 +053061ccflags-y += -DNSS_DT_SUPPORT=1 -DNSS_PM_SUPPORT=0 -DNSS_FW_DBG_SUPPORT=0
Sivanesan Rajapupathi0958b5b2016-03-31 17:11:14 -040062ccflags-y += -DNSS_PPP_SUPPORT=0 -DNSS_FREQ_SCALE_SUPPORT=0 -DNSS_FABRIC_SCALING_SUPPORT=0