diff options
Diffstat (limited to 'fstools/Android.mk')
-rw-r--r-- | fstools/Android.mk | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/fstools/Android.mk b/fstools/Android.mk index 5dc060b..73dc0f0 100644 --- a/fstools/Android.mk +++ b/fstools/Android.mk @@ -14,12 +14,6 @@ LOCAL_WHOLE_STATIC_LIBRARIES += \ libfuse_static LOCAL_WHOLE_STATIC_LIBRARIES += \ - libexfat_static \ - libexfat_fsck_static \ - libexfat_mkfs_static \ - libexfat_mount_static - -LOCAL_WHOLE_STATIC_LIBRARIES += \ libntfs-3g_static \ libntfs3g_fsck_static \ libntfs3g_mkfs_main \ @@ -52,10 +46,20 @@ LOCAL_STATIC_LIBRARIES := \ FSTOOLS_LINKS := \ e2fsck mke2fs tune2fs fsck.ext4 mkfs.ext4 \ - fsck.exfat mkfs.exfat mount.exfat \ fsck.ntfs mkfs.ntfs mount.ntfs \ mkfs.f2fs fsck.f2fs +ifeq ($(TARGET_USES_EXFAT),true) +LOCAL_CFLAGS += -DHAVE_EXFAT +LOCAL_WHOLE_STATIC_LIBRARIES += \ + libexfat_static \ + libexfat_fsck_static \ + libexfat_mkfs_static \ + libexfat_mount_static +FSTOOLS_LINKS += \ + fsck.exfat mkfs.exfat mount.exfat +endif + FSTOOLS_LINKS += \ sgdisk |