sm8350-common: Hardcode common path in Android.mk

Declaring it that way interferes with other
device tree using same var name.

Change-Id: Ib8b3e3c1e772e357dcbce53a123889e66f2cb129
This commit is contained in:
LuK1337 2021-06-04 22:36:59 +02:00
parent b249320d97
commit 64e3eb01f1

View file

@ -15,7 +15,6 @@
#
LOCAL_PATH := $(call my-dir)
COMMON_PATH := $(LOCAL_PATH)
ifneq ($(filter lemonade lemonadep,$(TARGET_DEVICE)),)
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
@ -97,7 +96,7 @@ $(WIFI_FIRMWARE_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
$(hide) ln -sf /vendor/etc/wifi/WCNSS_qcom_cfg.ini $@/WCNSS_qcom_cfg.ini
$(hide) ln -sf /mnt/vendor/persist/wlan_mac.bin $@/wlan_mac.bin
VENDOR_RAMDISK_KERNEL_MODULES_LIST := $(strip $(shell cat $(COMMON_PATH)/modules.load.recovery))
VENDOR_RAMDISK_KERNEL_MODULES_LIST := $(strip $(shell cat device/oneplus/sm8350-common/modules.load.recovery))
VENDOR_RAMDISK_KERNEL_MODULES := $(VENDOR_RAMDISK_KERNEL_MODULES_LIST:%=$(TARGET_VENDOR_RAMDISK_OUT)/lib/modules/%)
INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/kernel