summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Deacon2012-08-27 16:41:36 -0500
committerKeith Deacon2012-08-27 16:41:36 -0500
commitdfa5c28fe29b18490a0cd601b8f7d79ce76ea918 (patch)
tree0f632795ffd25774513fa5d4f156fa387b52cd15 /Android.mk
parent3b211a8b1039c102d04eeff7053a99beaf0cded3 (diff)
parent14109844cc22d0ee512d569a09825a0404400079 (diff)
downloaddevice-ti-proprietary-open-dfa5c28fe29b18490a0cd601b8f7d79ce76ea918.tar.gz
device-ti-proprietary-open-dfa5c28fe29b18490a0cd601b8f7d79ce76ea918.tar.xz
device-ti-proprietary-open-dfa5c28fe29b18490a0cd601b8f7d79ce76ea918.zip
Merge jb-release into d-jb-release
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk31
1 files changed, 29 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 467da3a..ee14ff4 100644
--- a/Android.mk
+++ b/Android.mk
@@ -4,8 +4,6 @@ img-sgx.untarred_timestamp := $(img-sgx.untarred_intermediates)/stamp
4img-sgx.untarred_bin := $(img-sgx.untarred_intermediates)/sgx 4img-sgx.untarred_bin := $(img-sgx.untarred_intermediates)/sgx
5img-sgx.tar := $(LOCAL_PATH)/$(TARGET_BOARD_PLATFORM)/sgx.tgz 5img-sgx.tar := $(LOCAL_PATH)/$(TARGET_BOARD_PLATFORM)/sgx.tgz
6 6
7$(hide $(shell $(LOCAL_PATH)/untar.sh $(LOCAL_PATH)/wl12xx wpan $(LOCAL_PATH)/wl12xx/wpan.tgz))
8
9include $(call all-subdir-makefiles) 7include $(call all-subdir-makefiles)
10 8
11$(img-sgx.untarred_timestamp) : $(img-sgx.tar) 9$(img-sgx.untarred_timestamp) : $(img-sgx.tar)
@@ -201,3 +199,32 @@ $(LOCAL_BUILT_MODULE) : $(wl12xx-wlan.untarred_timestamp) | $(ACP)
201endif 199endif
202 200
203################################################################################ 201################################################################################
202# Install WPAN firmware files
203###############################################################################
204WPAN_TGZ := device/ti/proprietary-open/wl12xx/wpan.tgz
205
206ifneq ($(WPAN_TGZ),)
207include $(CLEAR_VARS)
208
209wpan.untarred_intermediates := $(call intermediates-dir-for, FAKE, wpan.untarred)
210wpan.untarred_timestamp := $(wpan.untarred_intermediates)/stamp
211
212WPAN_FW_LOCAL_PATH:= device/ti/proprietary-open/wl12xx/
213LOCAL_MODULE := ti-wpan-fw
214LOCAL_MODULE_CLASS := FAKE
215LOCAL_MODULE_TAGS := optional
216
217include $(BUILD_SYSTEM)/base_rules.mk
218
219$(LOCAL_BUILT_MODULE) : $(WPAN_TGZ)
220 echo "Unzip $(wpan.untarred_intermediates) <- $<"
221 $(hide) rm -rvf $(wpan.untarred_intermediates)/wpan
222 $(hide) mkdir -p $(wpan.untarred_intermediates)
223 $(hide) tar -C $(wpan.untarred_intermediates) -zvxf $<
224 $(hide) touch $(wpan.untarred_intermediates)
225
226$(LOCAL_INSTALLED_MODULE) : $(LOCAL_BUILT_MODULE) | $(ACP)
227 @echo "Copying wpan firmware ..."
228 @mkdir -p $(PRODUCT_OUT)/system/etc/firmware
229 $(hide) $(ACP) -rfpv $(wpan.untarred_intermediates)/wpan/*/*.bts $(PRODUCT_OUT)/system/etc/firmware/
230endif