summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2012-06-29 12:09:17 -0500
committerVishal Mahaveer2012-07-26 15:52:38 -0500
commitea8f31fa6aee1b13577b254a74daf35e34641e4a (patch)
tree84d2d7d0bb13a067a7ee36a418aca31096d5c2c3 /Android.mk
parentbde55dfdc7e4d29ea27dfdfc651a78ad0474fc5d (diff)
downloaddevice-ti-proprietary-open-ea8f31fa6aee1b13577b254a74daf35e34641e4a.tar.gz
device-ti-proprietary-open-ea8f31fa6aee1b13577b254a74daf35e34641e4a.tar.xz
device-ti-proprietary-open-ea8f31fa6aee1b13577b254a74daf35e34641e4a.zip
proprietary-open: wlan: move to tgz tarball
Move WLAN firmware from indvidual files to tar ball approach. Based on the way ducati binaries are handled. Change-Id: I66bfec1b0fb01f36a4508922d0e4919d6bb1eeb0 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk131
1 files changed, 131 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index a1a60c4..ce2221f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -31,3 +31,134 @@ $(LOCAL_BUILT_MODULE) : $(ti-ducati.untarred_timestamp) | $(ACP)
31 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@ 31 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
32endif 32endif
33############################################# 33#############################################
34
35
36###############################################################################
37# Install WLAN firmware files
38###############################################################################
39
40ifneq ($(WLAN_TGZ),)
41wl12xx-wlan.untarred_intermediates := $(call intermediates-dir-for, FAKE, wl12xx-wlan.untarred)
42wl12xx-wlan.untarred_timestamp := $(wl12xx-wlan.untarred_intermediates)/stamp
43
44$(wl12xx-wlan.untarred_timestamp) : $(WLAN_TGZ)
45 @echo "Unzip $(dir $@) <- $<)"
46 $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@)
47 $(hide) tar -C $(dir $@) -zxf $<
48 $(hide) touch $@
49
50include $(CLEAR_VARS)
51LOCAL_MODULE := wl1271-nvs.bin
52LOCAL_MODULE_CLASS := FAKE
53LOCAL_MODULE_TAGS := optional
54LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
55
56include $(BUILD_SYSTEM)/base_rules.mk
57
58$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl1271-nvs.bin
59$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
60 @echo "Copy $@ <- $(PRIVATE_SRC)"
61 @mkdir -p $(dir $@)
62 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
63
64include $(CLEAR_VARS)
65LOCAL_MODULE := wl1271-nvs_127x.bin
66LOCAL_MODULE_CLASS := FAKE
67LOCAL_MODULE_TAGS := optional
68LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
69
70include $(BUILD_SYSTEM)/base_rules.mk
71
72$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl1271-nvs_127x.bin
73$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
74 @echo "Copy $@ <- $(PRIVATE_SRC)"
75 @mkdir -p $(dir $@)
76 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
77
78include $(CLEAR_VARS)
79LOCAL_MODULE := wl128x-fw-4-sr.bin
80LOCAL_MODULE_CLASS := FAKE
81LOCAL_MODULE_TAGS := optional
82LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
83
84include $(BUILD_SYSTEM)/base_rules.mk
85
86$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl128x-fw-4-sr.bin
87$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
88 @echo "Copy $@ <- $(PRIVATE_SRC)"
89 @mkdir -p $(dir $@)
90 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
91
92include $(CLEAR_VARS)
93LOCAL_MODULE := wl128x-fw-4-mr.bin
94LOCAL_MODULE_CLASS := FAKE
95LOCAL_MODULE_TAGS := optional
96LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
97
98include $(BUILD_SYSTEM)/base_rules.mk
99
100$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl128x-fw-4-mr.bin
101$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
102 @echo "Copy $@ <- $(PRIVATE_SRC)"
103 @mkdir -p $(dir $@)
104 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
105
106include $(CLEAR_VARS)
107LOCAL_MODULE := wl128x-fw-4-plt.bin
108LOCAL_MODULE_CLASS := FAKE
109LOCAL_MODULE_TAGS := optional
110LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
111
112include $(BUILD_SYSTEM)/base_rules.mk
113
114$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl128x-fw-4-plt.bin
115$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
116 @echo "Copy $@ <- $(PRIVATE_SRC)"
117 @mkdir -p $(dir $@)
118 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
119
120include $(CLEAR_VARS)
121LOCAL_MODULE := wl127x-fw-4-sr.bin
122LOCAL_MODULE_CLASS := FAKE
123LOCAL_MODULE_TAGS := optional
124LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
125
126include $(BUILD_SYSTEM)/base_rules.mk
127
128$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl127x-fw-4-sr.bin
129$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
130 @echo "Copy $@ <- $(PRIVATE_SRC)"
131 @mkdir -p $(dir $@)
132 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
133
134include $(CLEAR_VARS)
135LOCAL_MODULE := wl127x-fw-4-mr.bin
136LOCAL_MODULE_CLASS := FAKE
137LOCAL_MODULE_TAGS := optional
138LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
139
140include $(BUILD_SYSTEM)/base_rules.mk
141
142$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl127x-fw-4-mr.bin
143$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
144 @echo "Copy $@ <- $(PRIVATE_SRC)"
145 @mkdir -p $(dir $@)
146 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
147
148include $(CLEAR_VARS)
149LOCAL_MODULE := wl127x-fw-4-plt.bin
150LOCAL_MODULE_CLASS := FAKE
151LOCAL_MODULE_TAGS := optional
152LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/ti-connectivity
153
154include $(BUILD_SYSTEM)/base_rules.mk
155
156$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(wl12xx-wlan.untarred_intermediates)/wlan/wl127x-fw-4-plt.bin
157$(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
158 @echo "Copy $@ <- $(PRIVATE_SRC)"
159 @mkdir -p $(dir $@)
160 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
161
162endif
163
164################################################################################