blob: 5f1c62c64058a45af8c28f13a321439e0264529e [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 \
15 nss_lso_rx.o \
16 nss_data_plane.o \
17 nss_dynamic_interface.o \
18 nss_gre_redir.o \
19 nss_if.o \
20 nss_init.o \
21 nss_ipsec.o \
22 nss_ipv4.o \
23 nss_ipv4_reasm.o \
24 nss_ipv6.o \
Selin Dag60a2f5b2015-06-29 14:39:49 -070025 nss_ipv6_reasm.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053026 nss_lag.o \
27 nss_phys_if.o \
28 nss_stats.o \
29 nss_tun6rd.o \
30 nss_tunipip6.o \
31 nss_virt_if.o \
32 nss_shaper.o \
33 nss_n2h.o \
Arunkumar T9ab2c6e2015-07-16 15:50:59 +053034 nss_pm.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053035 nss_log.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070036 nss_profiler.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053037 nss_eth_rx.o
38
39
40#
41# TODO: Deprecated files should be removed before merge
42#
43qca-nss-drv-objs += nss_tx_rx_virt_if.o
44qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o
45
46ccflags-y += -I$(obj)/nss_hal/include
47ccflags-y += -I$(obj)/nss_hal/
48ccflags-y += -I$(obj)/exports
49ccflags-y += -I$(obj)/nss_hal/fsm9010
50ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1792 -DNSS_PKT_STATS_ENABLED=0
51ccflags-y += -DNSS_DT_SUPPORT=1 -DNSS_PM_SUPPORT=0 -DNSS_FW_DBG_SUPPORT=0
52ccflags-y += -DNSS_PPP_SUPPORT=0 -DNSS_FREQ_SCALE_SUPPORT=0
53
54
55
56
57