xref: /linux/drivers/net/wireless/ath/ath6kl/Makefile (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
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
39# FIXME: temporarily silence -Wdangling-pointer on non W=1+ builds
40ifndef KBUILD_EXTRA_WARN
41CFLAGS_htc_mbox.o += $(call cc-disable-warning, dangling-pointer)
42endif
43
44ath6kl_core-$(CONFIG_NL80211_TESTMODE) += testmode.o
45ath6kl_core-$(CONFIG_ATH6KL_TRACING) += trace.o
46
47obj-$(CONFIG_ATH6KL_SDIO) += ath6kl_sdio.o
48ath6kl_sdio-y += sdio.o
49
50obj-$(CONFIG_ATH6KL_USB) += ath6kl_usb.o
51ath6kl_usb-y += usb.o
52
53# for tracing framework to find trace.h
54CFLAGS_trace.o := -I$(src)
55