diff options
author | Doug Zongker <dougz@android.com> | 2009-06-17 17:29:40 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2009-06-17 18:12:16 -0700 |
commit | fb2e3af3f915c0e3f2b4b027ef26777267ad46dc (patch) | |
tree | 45e7354eacc638f4176a095844258d1f313aba7b /Android.mk | |
parent | e3da02e7bcfd85c543419e7590a3c86f64d8cc8a (diff) | |
download | bootable_recovery-fb2e3af3f915c0e3f2b4b027ef26777267ad46dc.zip bootable_recovery-fb2e3af3f915c0e3f2b4b027ef26777267ad46dc.tar.gz bootable_recovery-fb2e3af3f915c0e3f2b4b027ef26777267ad46dc.tar.bz2 |
let the "firmware" command take the file straight from the package
To do a firmware-install-on-reboot, the update binary tells recovery
what file to install before rebooting. Let this file be specified as
"PACKAGE:<foo>" to indicate taking the file out of the OTA package,
avoiding an extra copy to /tmp. Bump the API version number to
reflect this change.
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |