diff --git a/Android.mk b/Android.mk index 111cbc5..1d81527 100644 --- a/Android.mk +++ b/Android.mk @@ -104,6 +104,42 @@ $(MODEM_SYMLINKS): $(LOCAL_INSTALLED_MODULE) ALL_DEFAULT_INSTALLED_MODULES += $(MODEM_SYMLINKS) +PROV_MODEM_IMAGES := \ + prov.b00 prov.b01 prov.b02 prov.b03 prov.mdt + +PROV_MODEM_SYMLINKS := $(addprefix $(TARGET_OUT_ETC)/firmware/,$(notdir $(PROV_MODEM_IMAGES))) +$(PROV_MODEM_SYMLINKS): $(LOCAL_INSTALLED_MODULE) + @echo "Prov Firmware link: $@" + @mkdir -p $(dir $@) + @rm -rf $@ + $(hide) ln -sf /firmware/image/$(notdir $@) $@ + +ALL_DEFAULT_INSTALLED_MODULES += $(PROV_MODEM_SYMLINKS) + +ACTLOCK_IMAGES := \ + act_lock.b00 act_lock.b01 act_lock.b02 act_lock.b03 act_lock.mdt + +ACTLOCK_SYMLINKS := $(addprefix $(TARGET_OUT_ETC)/firmware/,$(notdir $(ACTLOCK_IMAGES))) +$(ACTLOCK_SYMLINKS): $(LOCAL_INSTALLED_MODULE) + @echo "Actlock firmware link: $@" + @mkdir -p $(dir $@) + @rm -rf $@ + $(hide) ln -sf /firmware/image/$(notdir $@) $@ + +ALL_DEFAULT_INSTALLED_MODULES += $(ACTLOCK_SYMLINKS) + +TKM_IMAGES := \ + t2_ks_mi.b00 t2_ks_mi.b01 t2_ks_mi.b02 t2_ks_mi.b03 t2_ks_mi.mdt + +TKM_SYMLINKS := $(addprefix $(TARGET_OUT_ETC)/firmware/,$(notdir $(TKM_IMAGES))) +$(TKM_SYMLINKS): $(LOCAL_INSTALLED_MODULE) + @echo "TKM firmware link: $@" + @mkdir -p $(dir $@) + @rm -rf $@ + $(hide) ln -sf /firmware/image/$(notdir $@) $@ + +ALL_DEFAULT_INSTALLED_MODULES += $(TKM_SYMLINKS) + PLAYREADY_IMAGES := \ playread.b00 playread.b01 playread.b02 playread.b03 playread.mdt @@ -216,6 +252,7 @@ $(VENUS_SYMLINKS): $(LOCAL_INSTALLED_MODULE) ALL_DEFAULT_INSTALLED_MODULES += $(VENUS_SYMLINKS) WV_IMAGES := \ + cmnlib.b00 cmnlib.b01 cmnlib.b02 cmnlib.b03 cmnlib.mdt \ widevine.b00 widevine.b01 widevine.b02 widevine.b03 widevine.mdt WV_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/firmware/,$(notdir $(WV_IMAGES)))