Browse Source

qcacld-3.0: enhance the soft link creation on auto platform

Currently WCNSS_qcom_cfg.ini soft link is generated only when
GENER_ODM_IMAGE is not defined. However, the judgement made
based on GENER_ODM_IMAGE will cause a driver load failure on
talos_au.

With this enhancement, WCNSS_qcom_cfg.ini soft link will be
generated when:
 1)GENERIC_ODM_IMAGE is not true, or
 2)TARGET_BOARD_AUTO is true

Change-Id: Ia5f138761da12f2cd14a3c033bdb113d3b47e5fe
CRs-Fixed: 2776869
Xin Deng 4 years ago
parent
commit
db68cb6c8b
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Android.mk

+ 6 - 0
Android.mk

@@ -177,8 +177,14 @@ endif
 
 $(shell mkdir -p $(TARGET_FW_PATH); \
 	ln -sf $(TARGET_MAC_BIN_PATH)/wlan_mac.bin $(TARGET_FW_PATH)/wlan_mac.bin)
+ifeq ($(TARGET_BOARD_AUTO),true)
+$(shell ln -sf $(TARGET_CFG_PATH)/WCNSS_qcom_cfg.ini $(TARGET_FW_PATH)/WCNSS_qcom_cfg.ini)
+$(warning "generate soft link because TARGET_BOARD_AUTO true")
+else
 ifneq ($(GENERIC_ODM_IMAGE),true)
 $(shell ln -sf $(TARGET_CFG_PATH)/WCNSS_qcom_cfg.ini $(TARGET_FW_PATH)/WCNSS_qcom_cfg.ini)
+$(warning "generate soft link because GRNERIC_ODM_IMAGE not true")
+endif
 endif
 endif # Multi-ko check
 endif # DLKM check