xref: /linux/drivers/net/wireless/ath/ath6kl/Makefile (revision 9f7861c56b51b84d30114e7fea9d744a9d5ba9b7)
1#------------------------------------------------------------------------------
2# Copyright (c) 2004-2011 Atheros Communications Inc.
3# Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
4# All rights reserved.
5#
6#
7#
8# Permission to use, copy, modify, and/or distribute this software for any
9# purpose with or without fee is hereby granted, provided that the above
10# copyright notice and this permission notice appear in all copies.
11#
12# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19#
20#
21#
22# Author(s): ="Atheros"
23#------------------------------------------------------------------------------
24
25obj-$(CONFIG_ATH6KL) += ath6kl_core.o
26ath6kl_core-y += debug.o
27ath6kl_core-y += hif.o
28ath6kl_core-y += htc_mbox.o
29ath6kl_core-y += htc_pipe.o
30ath6kl_core-y += bmi.o
31ath6kl_core-y += cfg80211.o
32ath6kl_core-y += init.o
33ath6kl_core-y += main.o
34ath6kl_core-y += txrx.o
35ath6kl_core-y += wmi.o
36ath6kl_core-y += core.o
37ath6kl_core-y += recovery.o
38
39ath6kl_core-$(CONFIG_NL80211_TESTMODE) += testmode.o
40ath6kl_core-$(CONFIG_ATH6KL_TRACING) += trace.o
41
42obj-$(CONFIG_ATH6KL_SDIO) += ath6kl_sdio.o
43ath6kl_sdio-y += sdio.o
44
45obj-$(CONFIG_ATH6KL_USB) += ath6kl_usb.o
46ath6kl_usb-y += usb.o
47
48# for tracing framework to find trace.h
49CFLAGS_trace.o := -I$(src)
50