summaryrefslogtreecommitdiffstats
path: root/wl12xx
diff options
context:
space:
mode:
authorAndrii Beregovenko2013-03-06 08:35:48 -0600
committerAndrii Beregovenko2013-03-19 10:05:26 -0500
commite55416bf647b0333b37731f11c5b86ad9129f742 (patch)
tree91c22c3fa95eba5b253bb7595735ade097d508a9 /wl12xx
parent4fbba49fb3736ffd429fb028270f989c97264de0 (diff)
downloaddevice-ti-proprietary-open-e55416bf647b0333b37731f11c5b86ad9129f742.tar.gz
device-ti-proprietary-open-e55416bf647b0333b37731f11c5b86ad9129f742.tar.xz
device-ti-proprietary-open-e55416bf647b0333b37731f11c5b86ad9129f742.zip
wpan: rework rules for wpan firmware binaries
Organize prebuilt firmware binaries for WiLink's modules as regular Android prebuilts. Move corresponding rules to separate makefile. Change-Id: Ibc8b3531084530cda1388db15a5ab7b3fdec54bc Signed-off-by: Andrii Beregovenko <a.beregovenko@ti.com>
Diffstat (limited to 'wl12xx')
-rw-r--r--wl12xx/wpan/Android.mk20
-rw-r--r--wl12xx/wpan/License_for_WPAN_Binary_Images.txt (renamed from wl12xx/License_for_WPAN_Binary_Images.txt)0
-rw-r--r--wl12xx/wpan/bluetooth/Android.mk96
-rw-r--r--wl12xx/wpan/bluetooth/wl12xx-wpan-bt-fw-products.mk24
-rw-r--r--wl12xx/wpan/fm/Android.mk204
-rw-r--r--wl12xx/wpan/fm/wl12xx-wpan-fm-fw-products.mk35
-rw-r--r--wl12xx/wpan/nfc/Android.mk69
-rw-r--r--wl12xx/wpan/nfc/wl12xx-wpan-nfc-fw-products.mk18
-rw-r--r--wl12xx/wpan/wl12xx-wpan-fw-products.mk20
-rw-r--r--wl12xx/wpan/wpan.tgz (renamed from wl12xx/wpan.tgz)bin268152 -> 268152 bytes
10 files changed, 486 insertions, 0 deletions
diff --git a/wl12xx/wpan/Android.mk b/wl12xx/wpan/Android.mk
new file mode 100644
index 0000000..a47f6c0
--- /dev/null
+++ b/wl12xx/wpan/Android.mk
@@ -0,0 +1,20 @@
1# Copyright (C) 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16LOCAL_PATH := $(call my-dir)
17
18WPAN_TGZ := device/ti/proprietary-open/wl12xx/wpan/wpan.tgz
19
20include $(call all-makefiles-under, $(LOCAL_PATH))
diff --git a/wl12xx/License_for_WPAN_Binary_Images.txt b/wl12xx/wpan/License_for_WPAN_Binary_Images.txt
index 606c12d..606c12d 100644
--- a/wl12xx/License_for_WPAN_Binary_Images.txt
+++ b/wl12xx/wpan/License_for_WPAN_Binary_Images.txt
diff --git a/wl12xx/wpan/bluetooth/Android.mk b/wl12xx/wpan/bluetooth/Android.mk
new file mode 100644
index 0000000..db63840
--- /dev/null
+++ b/wl12xx/wpan/bluetooth/Android.mk
@@ -0,0 +1,96 @@
1# Copyright (C) 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := $(call my-dir)
16
17ifeq ($(strip $(BOARD_HAVE_BLUETOOTH_TI)),true)
18
19TI_WILINK_BT_FW_PATH := $(TARGET_OUT_ETC)/firmware
20
21WPAN_BT_FW_BINS := \
22 TIInit_7.2.31.bts \
23 TIInit_7.6.15.bts \
24 TIInit_10.6.15.bts \
25 TIInit_11.8.32.bts \
26 TIInit_12.7.27.bts \
27 TIInit_12.8.32.bts
28
29# path to BT fws (related to top dir)
30FW_BT_PATH := $(TARGET_EXTRACTED_FW)/bt
31
32# path related to current location
33FW_BT_FULL_PATH := ../../../../../../$(FW_BT_PATH)
34
35include $(CLEAR_VARS)
36LOCAL_MODULE := TIInit_7.2.31.bts
37LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_7.2.31.bts
38LOCAL_MODULE_CLASS := FIRMWARE
39LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH)
40LOCAL_MODULE_TAGS := optional
41LOCAL_MODULE_OWNER := ti
42include $(BUILD_PREBUILT)
43include $(CLEAR_VARS)
44LOCAL_MODULE := TIInit_7.6.15.bts
45LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_7.6.15.bts
46LOCAL_MODULE_CLASS := FIRMWARE
47LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH)
48LOCAL_MODULE_TAGS := optional
49LOCAL_MODULE_OWNER := ti
50include $(BUILD_PREBUILT)
51
52include $(CLEAR_VARS)
53LOCAL_MODULE := TIInit_10.6.15.bts
54LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_10.6.15.bts
55LOCAL_MODULE_CLASS := FIRMWARE
56LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH)
57LOCAL_MODULE_TAGS := optional
58LOCAL_MODULE_OWNER := ti
59include $(BUILD_PREBUILT)
60
61include $(CLEAR_VARS)
62LOCAL_MODULE := TIInit_11.8.32.bts
63LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_11.8.32.bts
64LOCAL_MODULE_CLASS := FIRMWARE
65LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH)
66LOCAL_MODULE_TAGS := optional
67LOCAL_MODULE_OWNER := ti
68include $(BUILD_PREBUILT)
69
70include $(CLEAR_VARS)
71LOCAL_MODULE := TIInit_12.7.27.bts
72LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_12.7.27.bts
73LOCAL_MODULE_CLASS := FIRMWARE
74LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH)
75LOCAL_MODULE_TAGS := optional
76LOCAL_MODULE_OWNER := ti
77include $(BUILD_PREBUILT)
78include $(CLEAR_VARS)
79LOCAL_MODULE := TIInit_12.8.32.bts
80LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_12.8.32.bts
81LOCAL_MODULE_CLASS := FIRMWARE
82LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH)
83LOCAL_MODULE_TAGS := optional
84LOCAL_MODULE_OWNER := ti
85include $(BUILD_PREBUILT)
86
87WPAN_BT_FW_FILES := $(addprefix $(LOCAL_PATH)/$(FW_BT_FULL_PATH)/, $(WPAN_BT_FW_BINS))
88.PHONY: $(WPAN_BT_FW_FILES)
89$(WPAN_BT_FW_FILES): $(FW_BT_FULL_PATH)
90 $(hide) tar -C $(FW_BT_PATH) --strip-components=2 \
91 -f $(WPAN_TGZ) -xzp wpan/bluetooth/$(notdir $@)
92
93$(FW_BT_FULL_PATH):
94 $(hide) mkdir -p $(FW_BT_PATH)
95
96endif
diff --git a/wl12xx/wpan/bluetooth/wl12xx-wpan-bt-fw-products.mk b/wl12xx/wpan/bluetooth/wl12xx-wpan-bt-fw-products.mk
new file mode 100644
index 0000000..1a73115
--- /dev/null
+++ b/wl12xx/wpan/bluetooth/wl12xx-wpan-bt-fw-products.mk
@@ -0,0 +1,24 @@
1# Copyright (C) 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# Add Bluetooth firmware
17
18PRODUCT_PACKAGES += \
19 TIInit_7.2.31.bts \
20 TIInit_7.6.15.bts \
21 TIInit_10.6.15.bts \
22 TIInit_11.8.32.bts \
23 TIInit_12.7.27.bts \
24 TIInit_12.8.32.bts \ No newline at end of file
diff --git a/wl12xx/wpan/fm/Android.mk b/wl12xx/wpan/fm/Android.mk
new file mode 100644
index 0000000..caa7690
--- /dev/null
+++ b/wl12xx/wpan/fm/Android.mk
@@ -0,0 +1,204 @@
1# Copyright (C) 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := $(call my-dir)
16
17TI_WILINK_FM_FW_PATH := $(TARGET_OUT_ETC)/firmware
18
19WPAN_FM_FW_BINS := \
20 fmc_ch8_1283.2.bts \
21 fmc_ch8_1853.3.bts \
22 fmc_ch8_1893.2.bts \
23 fmc_ch8_1893.3.bts \
24 fmc_init_1273.2.bts \
25 fm_rx_ch8_1283.2.bts \
26 fm_rx_ch8_1853.3.bts \
27 fm_rx_ch8_1893.2.bts \
28 fm_rx_ch8_1893.3.bts \
29 fm_rx_init_1273.2.bts \
30 fm_tx_ch8_1273.1.bts \
31 fm_tx_ch8_1273.2.bts \
32 fm_tx_ch8_1283.2.bts \
33 fm_tx_ch8_1853.3.bts \
34 fm_tx_ch8_1893.2.bts \
35 fm_tx_ch8_1893.3.bts \
36 fm_tx_init_1273.2.bts
37
38# path to NFC fws (related to top dir)
39FW_FM_PATH := $(TARGET_EXTRACTED_FW)/fm
40
41# path related to current location
42FW_FM_FULL_PATH := ../../../../../../$(FW_FM_PATH)
43
44include $(CLEAR_VARS)
45LOCAL_MODULE := fmc_ch8_1283.2.bts
46LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fmc_ch8_1283.2.bts
47LOCAL_MODULE_CLASS := FIRMWARE
48LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
49LOCAL_MODULE_TAGS := optional
50LOCAL_MODULE_OWNER := ti
51include $(BUILD_PREBUILT)
52
53include $(CLEAR_VARS)
54LOCAL_MODULE := fmc_ch8_1853.3.bts
55LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fmc_ch8_1853.3.bts
56LOCAL_MODULE_CLASS := FIRMWARE
57LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
58LOCAL_MODULE_TAGS := optional
59LOCAL_MODULE_OWNER := ti
60include $(BUILD_PREBUILT)
61
62include $(CLEAR_VARS)
63LOCAL_MODULE := fmc_ch8_1893.2.bts
64LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fmc_ch8_1893.2.bts
65LOCAL_MODULE_CLASS := FIRMWARE
66LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
67LOCAL_MODULE_TAGS := optional
68LOCAL_MODULE_OWNER := ti
69include $(BUILD_PREBUILT)
70
71include $(CLEAR_VARS)
72LOCAL_MODULE := fmc_ch8_1893.3.bts
73LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fmc_ch8_1893.3.bts
74LOCAL_MODULE_CLASS := FIRMWARE
75LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
76LOCAL_MODULE_TAGS := optional
77LOCAL_MODULE_OWNER := ti
78include $(BUILD_PREBUILT)
79
80include $(CLEAR_VARS)
81LOCAL_MODULE := fmc_init_1273.2.bts
82LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fmc_init_1273.2.bts
83LOCAL_MODULE_CLASS := FIRMWARE
84LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
85LOCAL_MODULE_TAGS := optional
86LOCAL_MODULE_OWNER := ti
87include $(BUILD_PREBUILT)
88
89include $(CLEAR_VARS)
90LOCAL_MODULE := fm_rx_ch8_1283.2.bts
91LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_rx_ch8_1283.2.bts
92LOCAL_MODULE_CLASS := FIRMWARE
93LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
94LOCAL_MODULE_TAGS := optional
95LOCAL_MODULE_OWNER := ti
96include $(BUILD_PREBUILT)
97
98include $(CLEAR_VARS)
99LOCAL_MODULE := fm_rx_ch8_1853.3.bts
100LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_rx_ch8_1853.3.bts
101LOCAL_MODULE_CLASS := FIRMWARE
102LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
103LOCAL_MODULE_TAGS := optional
104LOCAL_MODULE_OWNER := ti
105include $(BUILD_PREBUILT)
106
107include $(CLEAR_VARS)
108LOCAL_MODULE := fm_rx_ch8_1893.2.bts
109LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_rx_ch8_1893.2.bts
110LOCAL_MODULE_CLASS := FIRMWARE
111LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
112LOCAL_MODULE_TAGS := optional
113LOCAL_MODULE_OWNER := ti
114include $(BUILD_PREBUILT)
115
116include $(CLEAR_VARS)
117LOCAL_MODULE := fm_rx_ch8_1893.3.bts
118LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_rx_ch8_1893.3.bts
119LOCAL_MODULE_CLASS := FIRMWARE
120LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
121LOCAL_MODULE_TAGS := optional
122LOCAL_MODULE_OWNER := ti
123include $(BUILD_PREBUILT)
124
125include $(CLEAR_VARS)
126LOCAL_MODULE := fm_rx_init_1273.2.bts
127LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_rx_init_1273.2.bts
128LOCAL_MODULE_CLASS := FIRMWARE
129LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
130LOCAL_MODULE_TAGS := optional
131LOCAL_MODULE_OWNER := ti
132include $(BUILD_PREBUILT)
133
134include $(CLEAR_VARS)
135LOCAL_MODULE := fm_tx_ch8_1273.1.bts
136LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1273.1.bts
137LOCAL_MODULE_CLASS := FIRMWARE
138LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
139LOCAL_MODULE_TAGS := optional
140LOCAL_MODULE_OWNER := ti
141include $(BUILD_PREBUILT)
142
143include $(CLEAR_VARS)
144LOCAL_MODULE := fm_tx_ch8_1273.2.bts
145LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1273.2.bts
146LOCAL_MODULE_CLASS := FIRMWARE
147LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
148LOCAL_MODULE_TAGS := optional
149LOCAL_MODULE_OWNER := ti
150include $(BUILD_PREBUILT)
151
152include $(CLEAR_VARS)
153LOCAL_MODULE := fm_tx_ch8_1283.2.bts
154LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1283.2.bts
155LOCAL_MODULE_CLASS := FIRMWARE
156LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
157LOCAL_MODULE_TAGS := optional
158LOCAL_MODULE_OWNER := ti
159include $(BUILD_PREBUILT)
160
161include $(CLEAR_VARS)
162LOCAL_MODULE := fm_tx_ch8_1853.3.bts
163LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1853.3.bts
164LOCAL_MODULE_CLASS := FIRMWARE
165LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
166LOCAL_MODULE_TAGS := optional
167LOCAL_MODULE_OWNER := ti
168include $(BUILD_PREBUILT)
169
170include $(CLEAR_VARS)
171LOCAL_MODULE := fm_tx_ch8_1893.2.bts
172LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1893.2.bts
173LOCAL_MODULE_CLASS := FIRMWARE
174LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
175LOCAL_MODULE_TAGS := optional
176LOCAL_MODULE_OWNER := ti
177include $(BUILD_PREBUILT)
178
179include $(CLEAR_VARS)
180LOCAL_MODULE := fm_tx_ch8_1893.3.bts
181LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1893.3.bts
182LOCAL_MODULE_CLASS := FIRMWARE
183LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
184LOCAL_MODULE_TAGS := optional
185LOCAL_MODULE_OWNER := ti
186include $(BUILD_PREBUILT)
187
188include $(CLEAR_VARS)
189LOCAL_MODULE := fm_tx_init_1273.2.bts
190LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_init_1273.2.bts
191LOCAL_MODULE_CLASS := FIRMWARE
192LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH)
193LOCAL_MODULE_TAGS := optional
194LOCAL_MODULE_OWNER := ti
195include $(BUILD_PREBUILT)
196
197WPAN_FM_FW_FILES := $(addprefix $(LOCAL_PATH)/$(FW_FM_FULL_PATH)/, $(WPAN_FM_FW_BINS))
198.PHONY: $(WPAN_FM_FW_FILES)
199$(WPAN_FM_FW_FILES): $(FW_FM_FULL_PATH)
200 $(hide) tar -C $(FW_FM_PATH) --strip-components=2 \
201 -f $(WPAN_TGZ) -xzp wpan/fmradio/$(notdir $@)
202
203$(FW_FM_FULL_PATH):
204 $(hide) mkdir -p $(FW_FM_PATH)
diff --git a/wl12xx/wpan/fm/wl12xx-wpan-fm-fw-products.mk b/wl12xx/wpan/fm/wl12xx-wpan-fm-fw-products.mk
new file mode 100644
index 0000000..43d11e7
--- /dev/null
+++ b/wl12xx/wpan/fm/wl12xx-wpan-fm-fw-products.mk
@@ -0,0 +1,35 @@
1# Copyright (C) 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# Add FM radio firmware
17
18PRODUCT_PACKAGES += \
19 fmc_ch8_1283.2.bts \
20 fmc_ch8_1853.3.bts \
21 fmc_ch8_1893.2.bts \
22 fmc_ch8_1893.3.bts \
23 fmc_init_1273.2.bts \
24 fm_rx_ch8_1283.2.bts \
25 fm_rx_ch8_1853.3.bts \
26 fm_rx_ch8_1893.2.bts \
27 fm_rx_ch8_1893.3.bts \
28 fm_rx_init_1273.2.bts \
29 fm_tx_ch8_1273.1.bts \
30 fm_tx_ch8_1273.2.bts \
31 fm_tx_ch8_1283.2.bts \
32 fm_tx_ch8_1853.3.bts \
33 fm_tx_ch8_1893.2.bts \
34 fm_tx_ch8_1893.3.bts \
35 fm_tx_init_1273.2.bts \ No newline at end of file
diff --git a/wl12xx/wpan/nfc/Android.mk b/wl12xx/wpan/nfc/Android.mk
new file mode 100644
index 0000000..6929d13
--- /dev/null
+++ b/wl12xx/wpan/nfc/Android.mk
@@ -0,0 +1,69 @@
1# Copyright (C) 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := $(call my-dir)
16
17ifeq ($(strip $(NFC_TI_DEVICE)),true)
18
19TI_WILINK_NFC_FW_PATH := $(TARGET_OUT_ETC)/firmware
20
21WPAN_NFC_FW_BINS := \
22 TIInit_11.7.27.bts \
23 TINfcInit_12.8.32.72.bts \
24 TINfcInit_12.8.32.80.bts
25
26# path to NFC fws (related to top dir)
27FW_NFC_PATH := $(TARGET_EXTRACTED_FW)/nfc
28
29# path related to current location
30FW_NFC_FULL_PATH := ../../../../../../$(FW_NFC_PATH)
31
32include $(CLEAR_VARS)
33LOCAL_MODULE := TIInit_11.7.27.bts
34LOCAL_SRC_FILES := $(FW_NFC_FULL_PATH)/TIInit_11.7.27.bts
35LOCAL_MODULE_CLASS := FIRMWARE
36LOCAL_MODULE_PATH := $(TI_WILINK_NFC_FW_PATH)
37LOCAL_MODULE_TAGS := optional
38LOCAL_MODULE_OWNER := ti
39include $(BUILD_PREBUILT)
40
41include $(CLEAR_VARS)
42LOCAL_MODULE := TINfcInit_12.8.32.72.bts
43LOCAL_SRC_FILES := $(FW_NFC_FULL_PATH)/TINfcInit_12.8.32.72.bts
44LOCAL_MODULE_CLASS := FIRMWARE
45LOCAL_MODULE_PATH := $(TI_WILINK_NFC_FW_PATH)
46LOCAL_MODULE_TAGS := optional
47LOCAL_MODULE_OWNER := ti
48include $(BUILD_PREBUILT)
49
50include $(CLEAR_VARS)
51LOCAL_MODULE := TINfcInit_12.8.32.80.bts
52LOCAL_SRC_FILES := $(FW_NFC_FULL_PATH)/TINfcInit_12.8.32.80.bts
53LOCAL_MODULE_CLASS := FIRMWARE
54LOCAL_MODULE_PATH := $(TI_WILINK_NFC_FW_PATH)
55LOCAL_MODULE_TAGS := optional
56LOCAL_MODULE_OWNER := ti
57include $(BUILD_PREBUILT)
58
59WPAN_NFC_FW_FILES := $(addprefix $(LOCAL_PATH)/$(FW_NFC_FULL_PATH)/, $(WPAN_NFC_FW_BINS))
60.PHONY: $(WPAN_NFC_FW_FILES)
61$(WPAN_NFC_FW_FILES): $(FW_NFC_FULL_PATH)
62 $(hide) tar -C $(FW_NFC_PATH) --strip-components=2 \
63 -f $(WPAN_TGZ) -xzp wpan/nfc/$(notdir $@)
64
65$(FW_NFC_FULL_PATH):
66 $(hide) mkdir -p $(FW_NFC_PATH)
67
68endif
69
diff --git a/wl12xx/wpan/nfc/wl12xx-wpan-nfc-fw-products.mk b/wl12xx/wpan/nfc/wl12xx-wpan-nfc-fw-products.mk
new file mode 100644
index 0000000..9c54ea6
--- /dev/null
+++ b/wl12xx/wpan/nfc/wl12xx-wpan-nfc-fw-products.mk
@@ -0,0 +1,18 @@
1# Copyright (C) 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15PRODUCT_PACKAGES += \
16 TIInit_11.7.27.bts \
17 TINfcInit_12.8.32.72.bts \
18 TINfcInit_12.8.32.80.bts \ No newline at end of file
diff --git a/wl12xx/wpan/wl12xx-wpan-fw-products.mk b/wl12xx/wpan/wl12xx-wpan-fw-products.mk
new file mode 100644
index 0000000..9a919b8
--- /dev/null
+++ b/wl12xx/wpan/wl12xx-wpan-fw-products.mk
@@ -0,0 +1,20 @@
1# Copyright (C) 2012 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16WPAN_FW_TOP := device/ti/proprietary-open/wl12xx/wpan
17
18$(call inherit-product, $(WPAN_FW_TOP)/bluetooth/wl12xx-wpan-bt-fw-products.mk)
19$(call inherit-product, $(WPAN_FW_TOP)/fm/wl12xx-wpan-fm-fw-products.mk)
20$(call inherit-product, $(WPAN_FW_TOP)/nfc/wl12xx-wpan-nfc-fw-products.mk)
diff --git a/wl12xx/wpan.tgz b/wl12xx/wpan/wpan.tgz
index 639a2f6..639a2f6 100644
--- a/wl12xx/wpan.tgz
+++ b/wl12xx/wpan/wpan.tgz
Binary files differ