sdm660-common: Create a symlink to the msadp partition in vendor/etc

The msadp partition contents can now be loaded via request_firmware.
Without this change the msadp image was not picked up during modem
loading

Change-Id: I4d99b56e0e151169b44839c299156878474857cd
This commit is contained in:
Shibin George
2017-01-25 17:46:54 +05:30
committed by Aayush Gupta
parent 6cb262ae38
commit f235f53db7

View File

@@ -25,6 +25,11 @@ include $(call all-makefiles-under,$(LOCAL_PATH))
include $(CLEAR_VARS)
# Create symbolic links for msadp
$(shell mkdir -p $(TARGET_OUT_VENDOR)/firmware; \
ln -sf /dev/block/bootdevice/by-name/msadp \
$(TARGET_OUT_VENDOR)/firmware/msadp)
# A/B builds require us to create the mount points at compile time.
# Just creating it for all cases since it does not hurt.
FIRMWARE_MOUNT_POINT := $(TARGET_OUT_VENDOR)/firmware_mnt