From f235f53db7f95544b756d13d3cbda9854b3e1015 Mon Sep 17 00:00:00 2001 From: Shibin George Date: Wed, 25 Jan 2017 17:46:54 +0530 Subject: [PATCH] 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 --- Android.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Android.mk b/Android.mk index ccee3a7..9f0366e 100644 --- a/Android.mk +++ b/Android.mk @@ -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