land: Fix wifi symlinks
Change-Id: I0f88b006fa951e478ca0a94873203b0d8f1346cd
This commit is contained in:
parent
b0b7b26489
commit
4175330b51
1 changed files with 6 additions and 1 deletions
|
@ -38,12 +38,15 @@ LOCAL_MODULE_SUFFIX := -timestamp
|
||||||
|
|
||||||
include $(BUILD_SYSTEM)/base_rules.mk
|
include $(BUILD_SYSTEM)/base_rules.mk
|
||||||
|
|
||||||
$(LOCAL_BUILT_MODULE): ACTUAL_INI_FILE := /data/misc/wifi/WCNSS_qcom_cfg.ini
|
$(LOCAL_BUILT_MODULE): ACTUAL_INI_FILE := /system/etc/wifi/WCNSS_qcom_cfg.ini
|
||||||
$(LOCAL_BUILT_MODULE): WCNSS_INI_SYMLINK := $(TARGET_OUT)/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini
|
$(LOCAL_BUILT_MODULE): WCNSS_INI_SYMLINK := $(TARGET_OUT)/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini
|
||||||
|
|
||||||
$(LOCAL_BUILT_MODULE): ACTUAL_BIN_FILE := /persist/WCNSS_qcom_wlan_nv.bin
|
$(LOCAL_BUILT_MODULE): ACTUAL_BIN_FILE := /persist/WCNSS_qcom_wlan_nv.bin
|
||||||
$(LOCAL_BUILT_MODULE): WCNSS_BIN_SYMLINK := $(TARGET_OUT)/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
|
$(LOCAL_BUILT_MODULE): WCNSS_BIN_SYMLINK := $(TARGET_OUT)/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
|
||||||
|
|
||||||
|
$(LOCAL_BUILT_MODULE): ACTUAL_DAT_FILE := /persist/WCNSS_wlan_dictionary.dat
|
||||||
|
$(LOCAL_BUILT_MODULE): WCNSS_DAT_SYMLINK := $(TARGET_OUT)/etc/firmware/wlan/prima/WCNSS_wlan_dictionary.dat
|
||||||
|
|
||||||
$(LOCAL_BUILT_MODULE): ACTUAL_MODULE_FILE := /system/lib/modules/pronto/pronto_wlan.ko
|
$(LOCAL_BUILT_MODULE): ACTUAL_MODULE_FILE := /system/lib/modules/pronto/pronto_wlan.ko
|
||||||
$(LOCAL_BUILT_MODULE): WCNSS_MODULE_SYMLINK := $(TARGET_OUT)/lib/modules/wlan.ko
|
$(LOCAL_BUILT_MODULE): WCNSS_MODULE_SYMLINK := $(TARGET_OUT)/lib/modules/wlan.ko
|
||||||
|
|
||||||
|
@ -58,6 +61,8 @@ $(LOCAL_BUILT_MODULE):
|
||||||
$(hide) ln -sf $(ACTUAL_INI_FILE) $(WCNSS_INI_SYMLINK)
|
$(hide) ln -sf $(ACTUAL_INI_FILE) $(WCNSS_INI_SYMLINK)
|
||||||
$(hide) rm -rf $(WCNSS_BIN_SYMLINK)
|
$(hide) rm -rf $(WCNSS_BIN_SYMLINK)
|
||||||
$(hide) ln -sf $(ACTUAL_BIN_FILE) $(WCNSS_BIN_SYMLINK)
|
$(hide) ln -sf $(ACTUAL_BIN_FILE) $(WCNSS_BIN_SYMLINK)
|
||||||
|
$(hide) rm -rf $(WCNSS_DAT_SYMLINK)
|
||||||
|
$(hide) ln -sf $(ACTUAL_DAT_FILE) $(WCNSS_DAT_SYMLINK)
|
||||||
$(hide) rm -rf $(WCNSS_MODULE_SYMLINK)
|
$(hide) rm -rf $(WCNSS_MODULE_SYMLINK)
|
||||||
$(hide) ln -sf $(ACTUAL_MODULE_FILE) $(WCNSS_MODULE_SYMLINK)
|
$(hide) ln -sf $(ACTUAL_MODULE_FILE) $(WCNSS_MODULE_SYMLINK)
|
||||||
$(hide) touch $@
|
$(hide) touch $@
|
||||||
|
|
Loading…
Reference in a new issue