summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-06-18 07:07:13 +0200
committerDoug Zongker <dougz@android.com>2009-06-18 07:07:13 +0200
commitd683785ec9d36a9f4c7de1983f69a1f049132365 (patch)
tree23ad6c933463bd0506ce492b7fba92dc7006ae48 /Android.mk
parentam e3da02e7: add less_than_int, greater_than_int to edify (diff)
parentlet the "firmware" command take the file straight from the package (diff)
downloadandroid_bootable_recovery-d683785ec9d36a9f4c7de1983f69a1f049132365.tar
android_bootable_recovery-d683785ec9d36a9f4c7de1983f69a1f049132365.tar.gz
android_bootable_recovery-d683785ec9d36a9f4c7de1983f69a1f049132365.tar.bz2
android_bootable_recovery-d683785ec9d36a9f4c7de1983f69a1f049132365.tar.lz
android_bootable_recovery-d683785ec9d36a9f4c7de1983f69a1f049132365.tar.xz
android_bootable_recovery-d683785ec9d36a9f4c7de1983f69a1f049132365.tar.zst
android_bootable_recovery-d683785ec9d36a9f4c7de1983f69a1f049132365.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index ba38ebe56..f04f7ddcc 100644
--- a/Android.mk
+++ b/Android.mk
@@ -22,6 +22,9 @@ LOCAL_MODULE := recovery
LOCAL_FORCE_STATIC_EXECUTABLE := true
+RECOVERY_API_VERSION := 2
+LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
+
# This binary is in the recovery ramdisk, which is otherwise a copy of root.
# It gets copied there in config/Makefile. LOCAL_MODULE_TAGS suppresses
# a (redundant) copy of the binary in /system/bin for user builds.