aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-06-17 17:29:40 -0700
committerDoug Zongker <dougz@android.com>2009-06-17 18:12:16 -0700
commitfb2e3af3f915c0e3f2b4b027ef26777267ad46dc (patch)
tree45e7354eacc638f4176a095844258d1f313aba7b /common.h
parente3da02e7bcfd85c543419e7590a3c86f64d8cc8a (diff)
downloadbootable_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 'common.h')
-rw-r--r--common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.h b/common.h
index 98ce868..6761159 100644
--- a/common.h
+++ b/common.h
@@ -90,4 +90,7 @@ void ui_reset_progress();
#define LOGD(...) do {} while (0)
#endif
+#define STRINGIFY(x) #x
+#define EXPAND(x) STRINGIFY(x)
+
#endif // RECOVERY_COMMON_H