summaryrefslogtreecommitdiffstats
path: root/updater/Android.mk
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-09-15 20:14:51 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-15 20:14:51 +0200
commit9f89b0e4673f0e28066ba41321dc9e626e04c64f (patch)
tree41ec0075fa7181d1103bacdbce2fa1c9454eb136 /updater/Android.mk
parentam 8674a726: (cherry-pick) support installing any .zip file on the sdcard (diff)
parentsupport for ext4/EMMC filesystems in updater binary (diff)
downloadandroid_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar.gz
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar.bz2
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar.lz
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar.xz
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.tar.zst
android_bootable_recovery-9f89b0e4673f0e28066ba41321dc9e626e04c64f.zip
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 d4a4e332d..dcc6a49ab 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