blob: d9860037d240a42888424f9fd106f82e4fbde1d3 [file] [log] [blame]
Pamidipati, Vijayc6ae5662013-06-10 11:03:55 +05301#
2# Copyright (c) 2013 Qualcomm Atheros, Inc..
3# All Rights Reserved.
4#
5# -----------------------------REVISION HISTORY---------------------------------
6# Qualcomm Atheros 01/Feb/2013 Created
7#
8
9# ###################################################
10# # Makefile for the NSS driver
11# ###################################################
12
Abhishek Rastogibc74e432013-04-02 10:28:22 +053013obj-m += qca-nss-drv.o
Abhishek Rastogi38cffff2013-06-02 11:25:47 +053014qca-nss-drv-objs := nss_init.o nss_core.o nss_tx_rx.o nss_stats.o
Abhishek Rastogibc74e432013-04-02 10:28:22 +053015
Pamidipati, Vijayc6ae5662013-06-10 11:03:55 +053016obj-m += qca-nss-connmgr-ipv4.o
17obj-m += qca-nss-connmgr-ipv6.o
18
19qca-nss-connmgr-ipv4-objs := nss_connmgr_ipv4.o
20qca-nss-connmgr-ipv6-objs := nss_connmgr_ipv6.o
Abhishek Rastogibc74e432013-04-02 10:28:22 +053021
Abhishek Rastogi38cffff2013-06-02 11:25:47 +053022ccflags-y += -I$(obj)/nss_hal/include -DNSS_DEBUG_LEVEL=0 -DNSS_EMPTY_BUFFER_SIZE=1792 -DNSS_PKT_STATS_ENABLED=0
Pamidipati, Vijayc6ae5662013-06-10 11:03:55 +053023ccflags-y += -DNSS_CONNMGR_DEBUG_LEVEL=0
24
25obj ?= .
Abhishek Rastogibc74e432013-04-02 10:28:22 +053026
27ifeq "$(CONFIG_ARCH_IPQ806X)" "y"
28qca-nss-drv-objs += nss_hal/ipq806x/nss_hal_pvt.o
Abhishek Rastogi38cffff2013-06-02 11:25:47 +053029ccflags-y += -I$(obj)/nss_hal/ipq806x
Abhishek Rastogibc74e432013-04-02 10:28:22 +053030endif