summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrii Beregovenko2013-02-25 13:02:11 -0600
committerAndrii Beregovenko2013-03-19 10:03:04 -0500
commit4fbba49fb3736ffd429fb028270f989c97264de0 (patch)
tree962c5043377e05eeb0c1b26b552ef5f065ed149f /Android.mk
parentbafb46256331fa06c5cbd92936dac13a5d5fc128 (diff)
downloaddevice-ti-proprietary-open-4fbba49fb3736ffd429fb028270f989c97264de0.tar.gz
device-ti-proprietary-open-4fbba49fb3736ffd429fb028270f989c97264de0.tar.xz
device-ti-proprietary-open-4fbba49fb3736ffd429fb028270f989c97264de0.zip
wlan: rework rules for wlan firmware binaries
Organize prebuilt firmware binaries for WiLink's WiFi as regular Android prebuilts. Move corresponding rules to separate makefile. Change-Id: I5e1b95dfe9092f67f00b47e15a6507891c262e93 Signed-off-by: Andrii Beregovenko <a.beregovenko@ti.com>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk156
1 files changed, 0 insertions, 156 deletions
diff --git a/Android.mk b/Android.mk
index c17647d..26a1a6b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -72,162 +72,6 @@ endif
72 72
73############################################# 73#############################################
74 74
75###############################################################################
76# Install WLAN firmware files
77###############################################################################
78
79ifneq ($(WLAN_TGZ),)
80wl12xx-wlan.untarred_intermediates := $(call intermediates-dir-for, FAKE, wl12xx-wlan.untarred)
81wl12xx-wlan.untarred_timestamp := $(wl12xx-wlan.untarred_intermediates)/stamp
82
83$(wl12xx-wlan.untarred_timestamp) : $(WLAN_TGZ)
84 @echo "Unzip $(dir $@) <- $<)"
85 $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@)
86 $(hide) tar -C $(dir $@) -zxf $<
87 $(hide) touch $@
88
89include $(CLEAR_VARS)
90LOCAL_MODULE := wl1271-nvs.bin
91LOCAL_MODULE_CLASS := FAKE
92LOCAL_MODULE_TAGS := optional
93LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
94
95include $(BUILD_SYSTEM)/base_rules.mk
96
97$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl1271-nvs.bin
98$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
99 @echo "Copy $@ <- $(PRIVATE_SRC)"
100 @mkdir -p $(dir $@)
101 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
102
103include $(CLEAR_VARS)
104LOCAL_MODULE := wl1271-nvs_127x.bin
105LOCAL_MODULE_CLASS := FAKE
106LOCAL_MODULE_TAGS := optional
107LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
108
109include $(BUILD_SYSTEM)/base_rules.mk
110
111$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl1271-nvs_127x.bin
112$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
113 @echo "Copy $@ <- $(PRIVATE_SRC)"
114 @mkdir -p $(dir $@)
115 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
116
117include $(CLEAR_VARS)
118LOCAL_MODULE := wl128x-fw-4-sr.bin
119LOCAL_MODULE_CLASS := FAKE
120LOCAL_MODULE_TAGS := optional
121LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
122
123include $(BUILD_SYSTEM)/base_rules.mk
124
125$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl128x-fw-4-sr.bin
126$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
127 @echo "Copy $@ <- $(PRIVATE_SRC)"
128 @mkdir -p $(dir $@)
129 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
130
131include $(CLEAR_VARS)
132LOCAL_MODULE := wl128x-fw-4-mr.bin
133LOCAL_MODULE_CLASS := FAKE
134LOCAL_MODULE_TAGS := optional
135LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
136
137include $(BUILD_SYSTEM)/base_rules.mk
138
139$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl128x-fw-4-mr.bin
140$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
141 @echo "Copy $@ <- $(PRIVATE_SRC)"
142 @mkdir -p $(dir $@)
143 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
144
145include $(CLEAR_VARS)
146LOCAL_MODULE := wl128x-fw-4-plt.bin
147LOCAL_MODULE_CLASS := FAKE
148LOCAL_MODULE_TAGS := optional
149LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
150
151include $(BUILD_SYSTEM)/base_rules.mk
152
153$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl128x-fw-4-plt.bin
154$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
155 @echo "Copy $@ <- $(PRIVATE_SRC)"
156 @mkdir -p $(dir $@)
157 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
158
159include $(CLEAR_VARS)
160LOCAL_MODULE := wl127x-fw-4-sr.bin
161LOCAL_MODULE_CLASS := FAKE
162LOCAL_MODULE_TAGS := optional
163LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
164
165include $(BUILD_SYSTEM)/base_rules.mk
166
167$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl127x-fw-4-sr.bin
168$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
169 @echo "Copy $@ <- $(PRIVATE_SRC)"
170 @mkdir -p $(dir $@)
171 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
172
173include $(CLEAR_VARS)
174LOCAL_MODULE := wl127x-fw-4-mr.bin
175LOCAL_MODULE_CLASS := FAKE
176LOCAL_MODULE_TAGS := optional
177LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
178
179include $(BUILD_SYSTEM)/base_rules.mk
180
181$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl127x-fw-4-mr.bin
182$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
183 @echo "Copy $@ <- $(PRIVATE_SRC)"
184 @mkdir -p $(dir $@)
185 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
186
187include $(CLEAR_VARS)
188LOCAL_MODULE := wl127x-fw-4-plt.bin
189LOCAL_MODULE_CLASS := FAKE
190LOCAL_MODULE_TAGS := optional
191LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
192
193include $(BUILD_SYSTEM)/base_rules.mk
194
195$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl127x-fw-4-plt.bin
196$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
197 @echo "Copy $@ <- $(PRIVATE_SRC)"
198 @mkdir -p $(dir $@)
199 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
200
201include $(CLEAR_VARS)
202LOCAL_MODULE := wl18xx-fw-mc.bin
203LOCAL_MODULE_CLASS := FAKE
204LOCAL_MODULE_TAGS := optional
205LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
206
207include $(BUILD_SYSTEM)/base_rules.mk
208
209$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl18xx-fw-mc.bin
210$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
211 @echo "Copy $@ <- $(PRIVATE_SRC)"
212 @mkdir -p $(dir $@)
213 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
214
215include $(CLEAR_VARS)
216LOCAL_MODULE := wl18xx-conf.bin
217LOCAL_MODULE_CLASS := FAKE
218LOCAL_MODULE_TAGS := optional
219LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
220
221include $(BUILD_SYSTEM)/base_rules.mk
222
223$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl18xx-conf.bin
224$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
225 @echo "Copy $@ <- $(PRIVATE_SRC)"
226 @mkdir -p $(dir $@)
227 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
228
229endif
230
231################################################################################ 75################################################################################
232# Install WPAN firmware files 76# Install WPAN firmware files
233############################################################################### 77###############################################################################