diff --git a/Android.mk b/Android.mk index 593448f..7bfad2c 100644 --- a/Android.mk +++ b/Android.mk @@ -122,6 +122,18 @@ $(RFS_MSM_MPSS_SYMLINKS): $(LOCAL_INSTALLED_MODULE) $(hide) ln -sf /firmware $@/readonly/firmware $(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware -ALL_DEFAULT_INSTALLED_MODULES += $(RFS_MSM_ADSP_SYMLINKS) $(RFS_MSM_MPSS_SYMLINKS) +RFS_MSM_SLPI_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/slpi/ +$(RFS_MSM_SLPI_SYMLINKS): $(LOCAL_INSTALLED_MODULE) + @echo "Creating RFS MSM SLPI folder structure: $@" + @rm -rf $@/* + @mkdir -p $(dir $@)/readonly/vendor + $(hide) ln -sf /data/vendor/tombstones/rfs/modem $@/ramdumps + $(hide) ln -sf /persist/rfs/msm/slpi $@/readwrite + $(hide) ln -sf /persist/rfs/shared $@/shared + $(hide) ln -sf /persist/hlos_rfs/shared $@/hlos + $(hide) ln -sf /firmware $@/readonly/firmware + $(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware + +ALL_DEFAULT_INSTALLED_MODULES += $(RFS_MSM_ADSP_SYMLINKS) $(RFS_MSM_MPSS_SYMLINKS) $(RFS_MSM_SLPI_SYMLINKS) endif