summaryrefslogtreecommitdiffstats
path: root/updater/Android.mk
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-03-19 20:10:01 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-03-19 20:10:01 +0100
commit7e1b986a31f44fbd67c892d873c18b19f547bcad (patch)
tree651f1d226636f52c564daa6939c644161706d5ae /updater/Android.mk
parentAllow multiple overlays (diff)
downloadandroid_bootable_recovery-7e1b986a31f44fbd67c892d873c18b19f547bcad.tar
android_bootable_recovery-7e1b986a31f44fbd67c892d873c18b19f547bcad.tar.gz
android_bootable_recovery-7e1b986a31f44fbd67c892d873c18b19f547bcad.tar.bz2
android_bootable_recovery-7e1b986a31f44fbd67c892d873c18b19f547bcad.tar.lz
android_bootable_recovery-7e1b986a31f44fbd67c892d873c18b19f547bcad.tar.xz
android_bootable_recovery-7e1b986a31f44fbd67c892d873c18b19f547bcad.tar.zst
android_bootable_recovery-7e1b986a31f44fbd67c892d873c18b19f547bcad.zip
Diffstat (limited to 'updater/Android.mk')
-rw-r--r--updater/Android.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/updater/Android.mk b/updater/Android.mk
index cc2206134..0045d6fa7 100644
--- a/updater/Android.mk
+++ b/updater/Android.mk
@@ -53,7 +53,10 @@ tune2fs_static_libraries := \
libext2_uuid_static \
libext2_e2p \
libext2fs
-LOCAL_STATIC_LIBRARIES += libtune2fs $(tune2fs_static_libraries)
+ifneq ($(wildcard external/e2fsprogs/misc/tune2fs.h),)
+ LOCAL_STATIC_LIBRARIES += libtune2fs $(tune2fs_static_libraries)
+ LOCAL_CFLAGS += -DHAVE_LIBTUNE2FS
+endif
LOCAL_C_INCLUDES += external/e2fsprogs/misc
LOCAL_C_INCLUDES += $(LOCAL_PATH)/..