aboutsummaryrefslogtreecommitdiffstats
path: root/updater/Android.mk
diff options
context:
space:
mode:
authorMichael Runge <mrunge@google.com>2014-11-21 00:12:28 -0800
committerMichael Runge <mrunge@google.com>2014-11-21 13:02:03 -0800
commitb278c252e148798346f85fc92eeea6afeb33fbf0 (patch)
tree1ffe681a0ce3d4788210d401ef53304724cc104b /updater/Android.mk
parente5879c3639789d61803605c12371a4f291e0b3cc (diff)
downloadbootable_recovery-b278c252e148798346f85fc92eeea6afeb33fbf0.zip
bootable_recovery-b278c252e148798346f85fc92eeea6afeb33fbf0.tar.gz
bootable_recovery-b278c252e148798346f85fc92eeea6afeb33fbf0.tar.bz2
Add support for tune2fs file operations
This allows tune2fs to be executed from within OTA scripts, allowing for file system modifications without formatting the partition Bug: 18430740 Change-Id: I0c2e05b5ef4a81ecea043e9b7b99b545d18fe5e6
Diffstat (limited to 'updater/Android.mk')
-rw-r--r--updater/Android.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/updater/Android.mk b/updater/Android.mk
index a3a900a..11e7bb8 100644
--- a/updater/Android.mk
+++ b/updater/Android.mk
@@ -34,6 +34,16 @@ LOCAL_STATIC_LIBRARIES += libapplypatch libedify libmtdutils libminzip libz
LOCAL_STATIC_LIBRARIES += libmincrypt libbz
LOCAL_STATIC_LIBRARIES += libcutils liblog libstdc++ libc
LOCAL_STATIC_LIBRARIES += libselinux
+tune2fs_static_libraries := \
+ libext2_com_err \
+ libext2_blkid \
+ libext2_quota \
+ libext2_uuid_static \
+ libext2_e2p \
+ libext2fs
+LOCAL_STATIC_LIBRARIES += libtune2fs $(tune2fs_static_libraries)
+
+LOCAL_C_INCLUDES += external/e2fsprogs/misc
LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
# Each library in TARGET_RECOVERY_UPDATER_LIBS should have a function