-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidBoardWlan.mk
37 lines (32 loc) · 1.15 KB
/
AndroidBoardWlan.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := hostapd_default.conf
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/hostapd
LOCAL_SRC_FILES := hostapd.conf
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := hostapd.accept
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/hostapd
LOCAL_SRC_FILES := hostapd.accept
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := hostapd.deny
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/hostapd
LOCAL_SRC_FILES := hostapd.deny
include $(BUILD_PREBUILT)
#create symbolic links for INI file
$(shell mkdir -p $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld;)
ifeq ($(GENERIC_ODM_IMAGE),true)
$(shell mkdir -p $(TARGET_OUT_ODM)/firmware/wlan/qca_cld;\
ln -sf /odm/etc/wifi/WCNSS_qcom_cfg.ini \
$(TARGET_OUT_ODM)/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini)
else
$(shell ln -sf /vendor/etc/wifi/WCNSS_qcom_cfg.ini \
$(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini)
endif