blob: 5e0538a0646ed3b69573f83970e67b6ee93d517c [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 \
Arunkumara7605d72015-09-21 20:42:27 +053030 nss_l2tpv2.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053031 nss_tunipip6.o \
32 nss_virt_if.o \
33 nss_shaper.o \
34 nss_n2h.o \
Arunkumar T9ab2c6e2015-07-16 15:50:59 +053035 nss_pm.o \
Arunkumar T8ebe1532015-06-10 16:01:53 +053036 nss_log.o \
Guojun Jinf3588a82015-07-05 22:01:22 -070037 nss_profiler.o \
Arunkumar T2d99a492015-08-31 19:29:48 +053038 nss_eth_rx.o \
39 nss_wifi.o \
40 nss_wifi_vdev.o \
41 nss_wifi_if.o
Arunkumar T8ebe1532015-06-10 16:01:53 +053042
43
44#
45# TODO: Deprecated files should be removed before merge
46#
47qca-nss-drv-objs += nss_tx_rx_virt_if.o
48qca-nss-drv-objs += nss_hal/fsm9010/nss_hal_pvt.o
49
50ccflags-y += -I$(obj)/nss_hal/include
51ccflags-y += -I$(obj)/nss_hal/
52ccflags-y += -I$(obj)/exports
53ccflags-y += -I$(obj)/nss_hal/fsm9010
54ccflags-y += -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1792 -DNSS_PKT_STATS_ENABLED=0
55ccflags-y += -DNSS_DT_SUPPORT=1 -DNSS_PM_SUPPORT=0 -DNSS_FW_DBG_SUPPORT=0
56ccflags-y += -DNSS_PPP_SUPPORT=0 -DNSS_FREQ_SCALE_SUPPORT=0
57
58
59
60
61