Quellcode durchsuchen

qcacld-3.0: Correct symbolic link for wlan.ko

In Treble bsed architecture, wlan driver generated
can be part of vendor image or system image. Symbolic
link is corrected so that wlan.ko points to correct path
irrespective of split/non-split image.

Change-Id: Ia3f237d2797e4526bfd6c089e54df1622886bf56
CRs-Fixed: 2078121
Rajiv Ranjan vor 7 Jahren
Ursprung
Commit
11f3a5772b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Android.mk

+ 1 - 1
Android.mk

@@ -68,7 +68,7 @@ ifneq ($(findstring $(WLAN_CHIPSET),$(WIFI_DRIVER_DEFAULT)),)
 ifeq ($(PRODUCT_VENDOR_MOVE_ENABLED),true)
 ifneq ($(WIFI_DRIVER_INSTALL_TO_KERNEL_OUT),)
 $(shell mkdir -p $(TARGET_OUT_VENDOR)/lib/modules; \
-	ln -sf /system/lib/modules/$(WLAN_CHIPSET)/$(LOCAL_MODULE) $(TARGET_OUT_VENDOR)/lib/modules/wlan.ko)
+	ln -sf /$(TARGET_COPY_OUT_VENDOR)/lib/modules/$(WLAN_CHIPSET)/$(LOCAL_MODULE) $(TARGET_OUT_VENDOR)/lib/modules/wlan.ko)
 endif
 else
 $(shell mkdir -p $(TARGET_OUT)/lib/modules; \