diff --git a/Android.mk b/Android.mk index 5b2767f..111cbc5 100644 --- a/Android.mk +++ b/Android.mk @@ -191,6 +191,18 @@ $(TZPR_SYMLINKS): $(LOCAL_INSTALLED_MODULE) ALL_DEFAULT_INSTALLED_MODULES += $(TZPR_SYMLINKS) +TZ_CCM_IMAGES := \ + tz_ccm.b00 tz_ccm.b01 tz_ccm.b02 tz_ccm.b03 tz_ccm.mdt + +TZ_CCM_SYMLINKS := $(addprefix $(TARGET_OUT_ETC)/firmware/,$(notdir $(TZ_CCM_IMAGES))) +$(TZ_CCM_SYMLINKS): $(LOCAL_INSTALLED_MODULE) + @echo "TZ_CCM firmware link: $@" + @mkdir -p $(dir $@) + @rm -rf $@ + $(hide) ln -sf /firmware/image/$(notdir $@) $@ + +ALL_DEFAULT_INSTALLED_MODULES += $(TZ_CCM_SYMLINKS) + VENUS_IMAGES := \ venus.b00 venus.b01 venus.b02 venus.b03 venus.b04 venus.mdt