tty/serial: atmel_serial: whitespace and braces modifications
[zen-stable.git] / drivers / staging / ath6kl / Makefile
blob1d3f2390a17261df56c1f7cd04d13dcc20649f71
1 #------------------------------------------------------------------------------
2 # Copyright (c) 2004-2010 Atheros Communications Inc.
3 # All rights reserved.
5 #
7 # Permission to use, copy, modify, and/or distribute this software for any
8 # purpose with or without fee is hereby granted, provided that the above
9 # copyright notice and this permission notice appear in all copies.
11 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 # Author(s): ="Atheros"
22 #------------------------------------------------------------------------------
24 ccflags-y += -I$(obj)/include
25 ccflags-y += -I$(obj)/include/common
26 ccflags-y += -I$(obj)/wlan/include
27 ccflags-y += -I$(obj)/os/linux/include
28 ccflags-y += -I$(obj)/os
29 ccflags-y += -I$(obj)/bmi/include
30 ccflags-y += -I$(obj)/include/common/AR6002/hw4.0
32 ifeq ($(CONFIG_AR600x_DUAL_ANTENNA),y)
33 ccflags-y += -DAR600x_DUAL_ANTENNA
34 endif
36 ifeq ($(CONFIG_AR600x_SINGLE_ANTENNA),y)
37 ccflags-y += -DAR600x_SINGLE_ANTENNA
38 endif
40 ifeq ($(CONFIG_AR600x_BT_QCOM),y)
41 ccflags-y += -DAR600x_BT_QCOM
42 endif
44 ifeq ($(CONFIG_AR600x_BT_CSR),y)
45 ccflags-y += -DAR600x_BT_CSR
46 endif
48 ifeq ($(CONFIG_AR600x_BT_AR3001),y)
49 ccflags-y += -DAR600x_BT_AR3001
50 endif
52 ifeq ($(CONFIG_ATH6KL_HCI_BRIDGE),y)
53 ccflags-y += -DATH_AR6K_ENABLE_GMBOX
54 ccflags-y += -DHCI_TRANSPORT_SDIO
55 ccflags-y += -DSETUPHCI_ENABLED
56 ccflags-y += -DSETUPBTDEV_ENABLED
57 ath6kl-y += htc2/AR6000/ar6k_gmbox.o
58 ath6kl-y += htc2/AR6000/ar6k_gmbox_hciuart.o
59 ath6kl-y += miscdrv/ar3kconfig.o
60 ath6kl-y += miscdrv/ar3kps/ar3kpsconfig.o
61 ath6kl-y += miscdrv/ar3kps/ar3kpsparser.o
62 endif
64 ifeq ($(CONFIG_ATH6KL_CONFIG_GPIO_BT_RESET),y)
65 ccflags-y += -DATH6KL_CONFIG_GPIO_BT_RESET
66 endif
68 ifeq ($(CONFIG_ATH6KL_HTC_RAW_INTERFACE),y)
69 ccflags-y += -DHTC_RAW_INTERFACE
70 endif
72 ifeq ($(CONFIG_ATH6KL_ENABLE_HOST_DEBUG),y)
73 ccflags-y += -DDEBUG
74 ccflags-y += -DATH_DEBUG_MODULE
75 endif
77 ifeq ($(CONFIG_ATH6KL_ENABLE_TARGET_DEBUG_PRINTS),y)
78 ccflags-y += -DENABLEUARTPRINT_SET
79 endif
81 ifeq ($(CONFIG_ATH6KL_DISABLE_TARGET_DBGLOGS),y)
82 ccflags-y += -DATH6KL_DISABLE_TARGET_DBGLOGS
83 endif
85 ifeq ($(CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER),y)
86 ccflags-y += -DATH6KL_CONFIG_HIF_VIRTUAL_SCATTER
87 endif
89 ifeq ($(CONFIG_ATH6KL_SKIP_ABI_VERSION_CHECK),y)
90 ccflags-y += -DATH6KL_SKIP_ABI_VERSION_CHECK
91 endif
93 ccflags-y += -DWAPI_ENABLE
94 ccflags-y += -DCHECKSUM_OFFLOAD
96 obj-$(CONFIG_ATH6K_LEGACY) := ath6kl.o
97 ath6kl-y += htc2/AR6000/ar6k.o
98 ath6kl-y += htc2/AR6000/ar6k_events.o
99 ath6kl-y += htc2/htc_send.o
100 ath6kl-y += htc2/htc_recv.o
101 ath6kl-y += htc2/htc_services.o
102 ath6kl-y += htc2/htc.o
103 ath6kl-y += bmi/src/bmi.o
104 ath6kl-y += os/linux/cfg80211.o
105 ath6kl-y += os/linux/ar6000_drv.o
106 ath6kl-y += os/linux/ar6000_raw_if.o
107 ath6kl-y += os/linux/ar6000_pm.o
108 ath6kl-y += os/linux/netbuf.o
109 ath6kl-y += os/linux/hci_bridge.o
110 ath6kl-y += miscdrv/common_drv.o
111 ath6kl-y += miscdrv/credit_dist.o
112 ath6kl-y += wmi/wmi.o
113 ath6kl-y += reorder/rcv_aggr.o
114 ath6kl-y += wlan/src/wlan_node.o
115 ath6kl-y += wlan/src/wlan_recv_beacon.o
116 ath6kl-y += wlan/src/wlan_utils.o
118 # ATH_HIF_TYPE := sdio
119 ccflags-y += -I$(obj)/hif/sdio/linux_sdio/include
120 ccflags-y += -DSDIO
121 ath6kl-y += hif/sdio/linux_sdio/src/hif.o
122 ath6kl-y += hif/sdio/linux_sdio/src/hif_scatter.o