summaryrefslogtreecommitdiff
path: root/recovery/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'recovery/Android.mk')
-rw-r--r--recovery/Android.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/recovery/Android.mk b/recovery/Android.mk
new file mode 100644
index 0000000..8cbf2b3
--- /dev/null
+++ b/recovery/Android.mk
@@ -0,0 +1,18 @@
+LOCAL_PATH := $(call my-dir)
+
+ifneq (,$(findstring $(TARGET_DEVICE),toroplus))
+
+# Edify extension functions for doing modem (radio) updates on toroplus devices.
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_TAGS := optional
+LOCAL_C_INCLUDES += bootable/recovery
+LOCAL_SRC_FILES := recovery_updater.c update_cdma_modem.c
+
+# should match TARGET_RECOVERY_UPDATER_LIBS set in BoardConfig.mk
+LOCAL_MODULE := librecovery_updater_toroplus
+
+include $(BUILD_STATIC_LIBRARY)
+
+endif