1 LOCAL_PATH := $(my-dir) 2 TARGET_OUT_WLAN_FW := $(TARGET_OUT_ETC)/firmware/ti-connectivity 3 4 # WLAN FW file for wl1271 5 include $(CLEAR_VARS) 6 LOCAL_MODULE := wl1271-fw-2.bin 7 LOCAL_MODULE_CLASS := ETC 8 LOCAL_MODULE_PATH := $(TARGET_OUT_WLAN_FW) 9 LOCAL_SRC_FILES := $(LOCAL_MODULE) 10 LOCAL_MODULE_TAGS := optional 11 include $(BUILD_PREBUILT) 12 13 # WLAN NVS file for wl1271 14 include $(CLEAR_VARS) 15 LOCAL_MODULE := wl1271-nvs.bin 16 LOCAL_MODULE_CLASS := ETC 17 LOCAL_MODULE_PATH := $(TARGET_OUT_WLAN_FW) 18 LOCAL_SRC_FILES := $(LOCAL_MODULE) 19 LOCAL_MODULE_TAGS := optional 20 include $(BUILD_PREBUILT) 21 22 ############################################# 23 # Install from ti-wpan.tgz: 24 # TIInit_10.6.15.bts 25 # TIInit_7.2.31.bts 26 # TIInit_7.6.15.bts 27 28 ti-wpan.untarred_intermediates := $(call intermediates-dir-for, ETC, ti-wpan.untarred) 29 ti-wpan.untarred_timestamp := $(ti-wpan.untarred_intermediates)/stamp 30 ti-wpan.untarred_bluetooth_dir := $(ti-wpan.untarred_intermediates)/bluetooth 31 32 $(ti-wpan.untarred_timestamp) : $(LOCAL_PATH)/ti-wpan.tgz 33 @echo "Unzip $(dir $@) <- $<)" 34 $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@) 35 $(hide) tar -C $(dir $@) -zxf $< 36 $(hide) touch $@ 37 38 39 ############################################# 40 include $(CLEAR_VARS) 41 LOCAL_MODULE := TIInit_10.6.15.bts 42 LOCAL_MODULE_CLASS := ETC 43 LOCAL_MODULE_TAGS := optional 44 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware 45 46 include $(BUILD_SYSTEM)/base_rules.mk 47 48 $(LOCAL_BUILT_MODULE): PRIVATE_SRC := $(ti-wpan.untarred_bluetooth_dir)/$(LOCAL_MODULE) 49 $(LOCAL_BUILT_MODULE) : $(ti-wpan.untarred_timestamp) | $(ACP) 50 @echo "Copy $@ <- $(PRIVATE_SRC)" 51 @mkdir -p $(dir $@) 52 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@ 53 54 ############################################# 55 include $(CLEAR_VARS) 56 LOCAL_MODULE := TIInit_7.2.31.bts 57 LOCAL_MODULE_CLASS := ETC 58 LOCAL_MODULE_TAGS := optional 59 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware 60 61 include $(BUILD_SYSTEM)/base_rules.mk 62 63 $(LOCAL_BUILT_MODULE): PRIVATE_SRC := $(ti-wpan.untarred_bluetooth_dir)/$(LOCAL_MODULE) 64 $(LOCAL_BUILT_MODULE) : $(ti-wpan.untarred_timestamp) | $(ACP) 65 @echo "Copy $@ <- $(PRIVATE_SRC)" 66 @mkdir -p $(dir $@) 67 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@ 68 69 ############################################# 70 include $(CLEAR_VARS) 71 LOCAL_MODULE := TIInit_7.6.15.bts 72 LOCAL_MODULE_CLASS := ETC 73 LOCAL_MODULE_TAGS := optional 74 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware 75 76 include $(BUILD_SYSTEM)/base_rules.mk 77 78 $(LOCAL_BUILT_MODULE): PRIVATE_SRC := $(ti-wpan.untarred_bluetooth_dir)/$(LOCAL_MODULE) 79 $(LOCAL_BUILT_MODULE) : $(ti-wpan.untarred_timestamp) | $(ACP) 80 @echo "Copy $@ <- $(PRIVATE_SRC)" 81 @mkdir -p $(dir $@) 82 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@ 83 84 ############################################# 85 86 # Clean up tmp vars 87 ti-wpan.untarred_intermediates := 88 ti-wpan.untarred_timestamp := 89 ti-wpan.untarred_bluetooth_dir := 90