blob: b45d721582afdfad178b752c7d0dbef52820ea16 [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 \
25 nss_lag.o \
26 nss_phys_if.o \
27 nss_stats.o \
28 nss_tun6rd.o \
29 nss_tunipip6.o \
30 nss_virt_if.o \
31 nss_shaper.o \
32 nss_n2h.o \
33 nss_log.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070034 nss_profiler.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053035 nss_eth_rx.o
36
37
38#
39# TODO: Deprecated files should be removed before merge
40#
41qca-nss-drv-objs += nss_tx_rx_virt_if.o
42qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o
43
44ccflags-y += -I$(obj)/nss_hal/include
45ccflags-y += -I$(obj)/nss_hal/
46ccflags-y += -I$(obj)/exports
47ccflags-y += -I$(obj)/nss_hal/fsm9010
48ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1792 -DNSS_PKT_STATS_ENABLED=0
49ccflags-y += -DNSS_DT_SUPPORT=1 -DNSS_PM_SUPPORT=0 -DNSS_FW_DBG_SUPPORT=0
50ccflags-y += -DNSS_PPP_SUPPORT=0 -DNSS_FREQ_SCALE_SUPPORT=0
51
52
53
54
55