land: Remove prebuilt WLAN module

We're building this into the kernel now.

Change-Id: Icd3f22ce4fe68cf85d49a55e5c08c0b1fd252dd8
This commit is contained in:
Zhao Wei Liew 2017-01-02 12:35:07 +08:00
parent 67db1c2d30
commit 6fb1a4b432
3 changed files with 0 additions and 9 deletions

View file

@ -47,15 +47,11 @@ $(LOCAL_BUILT_MODULE): WCNSS_BIN_SYMLINK := $(TARGET_OUT)/etc/firmware/wlan/prim
$(LOCAL_BUILT_MODULE): ACTUAL_DAT_FILE := /persist/WCNSS_wlan_dictionary.dat $(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): 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): WCNSS_MODULE_SYMLINK := $(TARGET_OUT)/lib/modules/wlan.ko
$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/Android.mk $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/Android.mk
$(LOCAL_BUILT_MODULE): $(LOCAL_BUILT_MODULE):
$(hide) echo "Making symlinks for wifi" $(hide) echo "Making symlinks for wifi"
$(hide) mkdir -p $(dir $@) $(hide) mkdir -p $(dir $@)
$(hide) mkdir -p $(dir $(WCNSS_INI_SYMLINK)) $(hide) mkdir -p $(dir $(WCNSS_INI_SYMLINK))
$(hide) mkdir -p $(dir $(WCNSS_MODULE_SYMLINK))
$(hide) rm -rf $@ $(hide) rm -rf $@
$(hide) rm -rf $(WCNSS_INI_SYMLINK) $(hide) rm -rf $(WCNSS_INI_SYMLINK)
$(hide) ln -sf $(ACTUAL_INI_FILE) $(WCNSS_INI_SYMLINK) $(hide) ln -sf $(ACTUAL_INI_FILE) $(WCNSS_INI_SYMLINK)
@ -63,8 +59,6 @@ $(LOCAL_BUILT_MODULE):
$(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) rm -rf $(WCNSS_DAT_SYMLINK)
$(hide) ln -sf $(ACTUAL_DAT_FILE) $(WCNSS_DAT_SYMLINK) $(hide) ln -sf $(ACTUAL_DAT_FILE) $(WCNSS_DAT_SYMLINK)
$(hide) rm -rf $(WCNSS_MODULE_SYMLINK)
$(hide) ln -sf $(ACTUAL_MODULE_FILE) $(WCNSS_MODULE_SYMLINK)
$(hide) touch $@ $(hide) touch $@
include $(call all-makefiles-under,$(LOCAL_PATH)) include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -12,7 +12,5 @@ BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_qcwcn
WIFI_DRIVER_FW_PATH_AP := "ap" WIFI_DRIVER_FW_PATH_AP := "ap"
WIFI_DRIVER_FW_PATH_STA := "sta" WIFI_DRIVER_FW_PATH_STA := "sta"
WIFI_DRIVER_MODULE_NAME := "wlan"
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko"
WPA_SUPPLICANT_VERSION := VER_0_8_X WPA_SUPPLICANT_VERSION := VER_0_8_X

View file

@ -1441,4 +1441,3 @@ etc/wifi/WCNSS_qcom_cfg.ini
etc/wifi/fstman.ini etc/wifi/fstman.ini
etc/wifi/p2p_supplicant_overlay.conf etc/wifi/p2p_supplicant_overlay.conf
etc/wifi/wpa_supplicant_overlay.conf etc/wifi/wpa_supplicant_overlay.conf
lib/modules/pronto/pronto_wlan.ko