Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: chromeos/drivers/ath6kl/Makefile

Issue 3579004: ath6kl: Bringing in the upstream version (Closed) Base URL: http://git.chromium.org/git/kernel.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chromeos/drivers/ath6kl/Kconfig ('k') | chromeos/drivers/ath6kl/TODO » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #------------------------------------------------------------------------------ 1 #------------------------------------------------------------------------------
2 # <copyright file="makefile" company="Atheros"> 2 # Copyright (c) 2004-2010 Atheros Communications Inc.
3 # Copyright (c) 2005-2010 Atheros Corporation. All rights reserved. 3 # All rights reserved.
4 #
4 # 5 #
5 # $ATH_LICENSE_HOSTSDK0_C$ 6 #
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.
10 #
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.
18 #
19 #
20 #
21 # Author(s): ="Atheros"
6 #------------------------------------------------------------------------------ 22 #------------------------------------------------------------------------------
7 #==============================================================================
8 # Author(s): ="Atheros"
9 #==============================================================================
10 23
11 ccflags-y += -I$(obj)/include 24 ccflags-y += -I$(obj)/include
25 ccflags-y += -I$(obj)/include/common
12 ccflags-y += -I$(obj)/wlan/include 26 ccflags-y += -I$(obj)/wlan/include
13 ccflags-y += -I$(obj)/os/linux/include 27 ccflags-y += -I$(obj)/os/linux/include
14 ccflags-y += -I$(obj)/os 28 ccflags-y += -I$(obj)/os
15 ccflags-y += -I$(obj)/bmi/include 29 ccflags-y += -I$(obj)/bmi/include
16 ccflags-y += -I$(obj)/include/AR6002/hw4.0 30 ccflags-y += -I$(obj)/include/common/AR6002/hw4.0
17 31
18 ifeq ($(CONFIG_AR600x_SD31_XXX),y) 32 ifeq ($(CONFIG_AR600x_SD31_XXX),y)
19 ccflags-y += -DAR600x_SD31_XXX 33 ccflags-y += -DAR600x_SD31_XXX
20 endif 34 endif
21 35
22 ifeq ($(CONFIG_AR600x_WB31_XXX),y) 36 ifeq ($(CONFIG_AR600x_WB31_XXX),y)
23 ccflags-y += -DAR600x_WB31_XXX 37 ccflags-y += -DAR600x_WB31_XXX
24 endif 38 endif
25 39
26 ifeq ($(CONFIG_AR600x_SD32_XXX),y) 40 ifeq ($(CONFIG_AR600x_SD32_XXX),y)
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 ccflags-y += -DATH6K_CONFIG_CFG80211 89 ccflags-y += -DATH6K_CONFIG_CFG80211
76 ath6kl-y += os/linux/cfg80211.o 90 ath6kl-y += os/linux/cfg80211.o
77 endif 91 endif
78 92
79 ifeq ($(CONFIG_ATH6KL_HTC_RAW_INTERFACE),y) 93 ifeq ($(CONFIG_ATH6KL_HTC_RAW_INTERFACE),y)
80 ccflags-y += -DHTC_RAW_INTERFACE 94 ccflags-y += -DHTC_RAW_INTERFACE
81 endif 95 endif
82 96
83 ifeq ($(CONFIG_ATH6KL_ENABLE_HOST_DEBUG),y) 97 ifeq ($(CONFIG_ATH6KL_ENABLE_HOST_DEBUG),y)
84 ccflags-y += -DDEBUG 98 ccflags-y += -DDEBUG
99 ccflags-y += -DATH_DEBUG_MODULE
85 endif 100 endif
86 101
87 ifeq ($(CONFIG_ATH6KL_ENABLE_TARGET_DEBUG_PRINTS),y) 102 ifeq ($(CONFIG_ATH6KL_ENABLE_TARGET_DEBUG_PRINTS),y)
88 ccflags-y += -DENABLEUARTPRINT_SET 103 ccflags-y += -DENABLEUARTPRINT_SET
89 endif 104 endif
90 105
91 ifeq ($(CONFIG_ATH6KL_DISABLE_TARGET_DBGLOGS),y) 106 ifeq ($(CONFIG_ATH6KL_DISABLE_TARGET_DBGLOGS),y)
92 ccflags-y += -DATH6KL_DISABLE_TARGET_DBGLOGS 107 ccflags-y += -DATH6KL_DISABLE_TARGET_DBGLOGS
93 endif 108 endif
94 109
95 ifeq ($(CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER),y) 110 ifeq ($(CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER),y)
96 ccflags-y += -DATH6K_CONFIG_HIF_VIRTUAL_SCATTER 111 ccflags-y += -DATH6KL_CONFIG_HIF_VIRTUAL_SCATTER
97 endif 112 endif
98 113
99 ifeq ($(CONFIG_ATH6KL_SKIP_ABI_VERSION_CHECK),y) 114 ifeq ($(CONFIG_ATH6KL_SKIP_ABI_VERSION_CHECK),y)
100 ccflags-y += -DATH6K_SKIP_ABI_VERSION_CHECK 115 ccflags-y += -DATH6KL_SKIP_ABI_VERSION_CHECK
101 endif 116 endif
102 117
103 ccflags-y += -DLINUX -DKERNEL_2_6 118 ccflags-y += -DLINUX -DKERNEL_2_6
104 ccflags-y += -DTCMD 119 ccflags-y += -DTCMD
105 ccflags-y += -DSEND_EVENT_TO_APP 120 ccflags-y += -DSEND_EVENT_TO_APP
106 ccflags-y += -DUSER_KEYS 121 ccflags-y += -DUSER_KEYS
107 ccflags-y += -DNO_SYNC_FLUSH 122 ccflags-y += -DNO_SYNC_FLUSH
108 ccflags-y += -DHTC_EP_STAT_PROFILING 123 ccflags-y += -DHTC_EP_STAT_PROFILING
109 ccflags-y += -DATH_AR6K_11N_SUPPORT 124 ccflags-y += -DATH_AR6K_11N_SUPPORT
110 ccflags-y += -DWAPI_ENABLE 125 ccflags-y += -DWAPI_ENABLE
111 ccflags-y += -DCHECKSUM_OFFLOAD 126 ccflags-y += -DCHECKSUM_OFFLOAD
112 ccflags-y += -DWLAN_HEADERS 127 ccflags-y += -DWLAN_HEADERS
113 ccflags-y += -DINIT_MODE_DRV_ENABLED 128 ccflags-y += -DINIT_MODE_DRV_ENABLED
114 ccflags-y += -DBMIENABLE_SET 129 ccflags-y += -DBMIENABLE_SET
115 130
116 obj-$(CONFIG_ATH6K_LEGACY) := ath6kl.o 131 obj-$(CONFIG_ATH6K_LEGACY) := ath6kl.o
117 ath6kl-y += htc2/AR6000/ar6k.o 132 ath6kl-y += htc2/AR6000/ar6k.o
118 ath6kl-y += htc2/AR6000/ar6k_events.o 133 ath6kl-y += htc2/AR6000/ar6k_events.o
119 ath6kl-y += htc2/htc_send.o 134 ath6kl-y += htc2/htc_send.o
120 ath6kl-y += htc2/htc_recv.o 135 ath6kl-y += htc2/htc_recv.o
121 ath6kl-y += htc2/htc_services.o 136 ath6kl-y += htc2/htc_services.o
122 ath6kl-y += htc2/htc.o 137 ath6kl-y += htc2/htc.o
123 ath6kl-y += bmi/src/bmi.o 138 ath6kl-y += bmi/src/bmi.o
124 ath6kl-y += os/linux/ar6000_drv.o 139 ath6kl-y += os/linux/ar6000_drv.o
125 ath6kl-y += os/linux/ar6000_raw_if.o 140 ath6kl-y += os/linux/ar6000_raw_if.o
141 ath6kl-y += os/linux/ar6000_pm.o
126 ath6kl-y += os/linux/netbuf.o 142 ath6kl-y += os/linux/netbuf.o
127 ath6kl-y += os/linux/wireless_ext.o 143 ath6kl-y += os/linux/wireless_ext.o
128 ath6kl-y += os/linux/ioctl.o 144 ath6kl-y += os/linux/ioctl.o
129 ath6kl-y += os/linux/hci_bridge.o 145 ath6kl-y += os/linux/hci_bridge.o
146 ath6kl-y += os/linux/ar6k_pal.o
130 ath6kl-y += miscdrv/common_drv.o 147 ath6kl-y += miscdrv/common_drv.o
131 ath6kl-y += miscdrv/credit_dist.o 148 ath6kl-y += miscdrv/credit_dist.o
132 ath6kl-y += wmi/wmi.o 149 ath6kl-y += wmi/wmi.o
133 ath6kl-y += reorder/rcv_aggr.o 150 ath6kl-y += reorder/rcv_aggr.o
134 ath6kl-y += wlan/src/wlan_node.o 151 ath6kl-y += wlan/src/wlan_node.o
135 ath6kl-y += wlan/src/wlan_recv_beacon.o 152 ath6kl-y += wlan/src/wlan_recv_beacon.o
136 ath6kl-y += wlan/src/wlan_utils.o 153 ath6kl-y += wlan/src/wlan_utils.o
137 154
138 # ATH_HIF_TYPE := sdio 155 # ATH_HIF_TYPE := sdio
139 ccflags-y += -I$(obj)/hif/sdio/linux_sdio/include 156 ccflags-y += -I$(obj)/hif/sdio/linux_sdio/include
140 ccflags-y += -DSDIO 157 ccflags-y += -DSDIO
141 ath6kl-y += hif/sdio/linux_sdio/src/hif.o 158 ath6kl-y += hif/sdio/linux_sdio/src/hif.o
142 ath6kl-y += hif/sdio/linux_sdio/src/hif_scatter.o 159 ath6kl-y += hif/sdio/linux_sdio/src/hif_scatter.o
OLDNEW
« no previous file with comments | « chromeos/drivers/ath6kl/Kconfig ('k') | chromeos/drivers/ath6kl/TODO » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698