summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Shaposhnikov2013-03-20 10:57:57 -0500
committerRoman Shaposhnikov2013-03-20 10:57:57 -0500
commitb195e580f9b5cd2af39dd9d2492184750a6194a1 (patch)
treea672b6f26f9d2c6603c65e12f67a599ac9609c05 /Android.mk
parent9c72d65e856f3232288d5fcaff9236afe8bcb193 (diff)
parente55416bf647b0333b37731f11c5b86ad9129f742 (diff)
downloaddevice-ti-proprietary-open-b195e580f9b5cd2af39dd9d2492184750a6194a1.tar.gz
device-ti-proprietary-open-b195e580f9b5cd2af39dd9d2492184750a6194a1.tar.xz
device-ti-proprietary-open-b195e580f9b5cd2af39dd9d2492184750a6194a1.zip
Merge omap-mirror/p-jb-mr1-release into omap-mirror/d-jb-mr1-release
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk187
1 files changed, 0 insertions, 187 deletions
diff --git a/Android.mk b/Android.mk
index 4d1cd36..5934899 100644
--- a/Android.mk
+++ b/Android.mk
@@ -71,190 +71,3 @@ $(LOCAL_BUILT_MODULE) : $(ti-tesla.untarred_timestamp) | $(ACP)
71endif 71endif
72 72
73############################################# 73#############################################
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################################################################################
232# Install WPAN firmware files
233###############################################################################
234WPAN_TGZ := device/ti/proprietary-open/wl12xx/wpan.tgz
235
236ifneq ($(WPAN_TGZ),)
237include $(CLEAR_VARS)
238
239wpan.untarred_intermediates := $(call intermediates-dir-for, FAKE, wpan.untarred)
240wpan.untarred_timestamp := $(wpan.untarred_intermediates)/stamp
241
242WPAN_FW_LOCAL_PATH:= device/ti/proprietary-open/wl12xx/
243LOCAL_MODULE := ti-wpan-fw
244LOCAL_MODULE_CLASS := FAKE
245LOCAL_MODULE_TAGS := optional
246
247include $(BUILD_SYSTEM)/base_rules.mk
248
249$(LOCAL_BUILT_MODULE) : $(WPAN_TGZ)
250 echo "Unzip $(wpan.untarred_intermediates) <- $<"
251 $(hide) rm -rvf $(wpan.untarred_intermediates)/wpan
252 $(hide) mkdir -p $(wpan.untarred_intermediates)
253 $(hide) tar -C $(wpan.untarred_intermediates) -zvxf $<
254 $(hide) touch $(wpan.untarred_intermediates)
255
256$(LOCAL_INSTALLED_MODULE) : $(LOCAL_BUILT_MODULE) | $(ACP)
257 @echo "Copying wpan firmware ..."
258 @mkdir -p $(PRODUCT_OUT)/system/etc/firmware
259 $(hide) $(ACP) -rfpv $(wpan.untarred_intermediates)/wpan/*/*.bts $(PRODUCT_OUT)/system/etc/firmware/
260endif