aboutsummaryrefslogtreecommitdiffstats
path: root/updater/Android.mk
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-07-01 09:18:44 -0700
committerDoug Zongker <dougz@android.com>2010-07-01 15:42:28 -0700
commit3d177d055c9cf3571e4b7c098818b454d1dbf9d7 (patch)
tree1f9841903bccde2c88ee8be32aa507cccaa6b02e /updater/Android.mk
parentb442b45bdd7df72de4958fad40f8ac675203d5c1 (diff)
downloadbootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.zip
bootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.tar.gz
bootable_recovery-3d177d055c9cf3571e4b7c098818b454d1dbf9d7.tar.bz2
support for ext4/EMMC filesystems in updater binary
Make the mount and format functions take extra parameters describing the filesystem type and add support for mounting and formatting ext4 filesystems on EMMC. Change recovery to consistently use stdout for status messages instead of mixing stdout and stderr.
Diffstat (limited to 'updater/Android.mk')
-rw-r--r--updater/Android.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/updater/Android.mk b/updater/Android.mk
index d4a4e33..dcc6a49 100644
--- a/updater/Android.mk
+++ b/updater/Android.mk
@@ -18,7 +18,13 @@ LOCAL_MODULE_TAGS := eng
LOCAL_SRC_FILES := $(updater_src_files)
-LOCAL_STATIC_LIBRARIES := $(TARGET_RECOVERY_UPDATER_LIBS) $(TARGET_RECOVERY_UPDATER_EXTRA_LIBS)
+ifeq ($(TARGET_USERIMAGES_USE_EXT4), true)
+LOCAL_CFLAGS += -DUSE_EXT4
+LOCAL_C_INCLUDES += system/extras/ext4_utils
+LOCAL_STATIC_LIBRARIES += libext4_utils libz
+endif
+
+LOCAL_STATIC_LIBRARIES += $(TARGET_RECOVERY_UPDATER_LIBS) $(TARGET_RECOVERY_UPDATER_EXTRA_LIBS)
LOCAL_STATIC_LIBRARIES += libapplypatch libedify libmtdutils libminzip libz
LOCAL_STATIC_LIBRARIES += libmincrypt libbz
LOCAL_STATIC_LIBRARIES += libcutils libstdc++ libc