Zvikomborero VIncent Zvikaramba | b726168 | 2016-08-03 01:27:15 -0400 | [diff] [blame^] | 1 | # Android makefile for the WLAN Module |
| 2 | |
| 3 | LOCAL_PATH := $(call my-dir) |
| 4 | |
| 5 | include $(CLEAR_VARS) |
| 6 | LOCAL_MODULE := WCNSS_qcom_wlan_nv.bin |
| 7 | LOCAL_MODULE_TAGS := optional |
| 8 | LOCAL_MODULE_CLASS := ETC |
| 9 | LOCAL_MODULE_PATH := $(PRODUCT_OUT)/persist |
| 10 | LOCAL_SRC_FILES := firmware_bin/$(LOCAL_MODULE) |
| 11 | include $(BUILD_PREBUILT) |
| 12 | |
| 13 | include $(CLEAR_VARS) |
| 14 | LOCAL_MODULE := WCNSS_cfg.dat |
| 15 | LOCAL_MODULE_TAGS := optional |
| 16 | LOCAL_MODULE_CLASS := ETC |
| 17 | LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware/wlan/prima |
| 18 | LOCAL_SRC_FILES := firmware_bin/$(LOCAL_MODULE) |
| 19 | include $(BUILD_PREBUILT) |
| 20 | |
| 21 | include $(CLEAR_VARS) |
| 22 | LOCAL_MODULE := WCNSS_qcom_cfg.ini |
| 23 | LOCAL_MODULE_TAGS := optional |
| 24 | LOCAL_MODULE_CLASS := ETC |
| 25 | LOCAL_MODULE_PATH := $(PRODUCT_OUT)/persist |
| 26 | LOCAL_SRC_FILES := firmware_bin/$(LOCAL_MODULE) |
| 27 | include $(BUILD_PREBUILT) |
| 28 | |
| 29 | #Create symbolic link |
| 30 | $(shell mkdir -p $(TARGET_OUT)/lib/modules; \ |
| 31 | ln -sf /system/lib/modules/$(WLAN_CHIPSET)/$(WLAN_CHIPSET)_wlan.ko \ |
| 32 | $(TARGET_OUT)/lib/modules/wlan.ko) |