Fixes for exfat-fuse
Change-Id: I46a1e7bf115c45616774b0571b17e38777ba87f8
diff --git a/Android.mk b/Android.mk
index 3d95c84..10dc79f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -416,11 +416,13 @@
TW_NO_EXFAT := true
endif
ifneq ($(TW_NO_EXFAT), true)
- include $(commands_recovery_local_path)/exfat/exfat-fuse/Android.mk \
- $(commands_recovery_local_path)/exfat/mkfs/Android.mk \
+ include $(commands_recovery_local_path)/exfat/mkfs/Android.mk \
$(commands_recovery_local_path)/fuse/Android.mk \
$(commands_recovery_local_path)/exfat/libexfat/Android.mk
endif
+ifneq ($(TW_NO_EXFAT_FUSE), true)
+ include $(commands_recovery_local_path)/exfat/exfat-fuse/Android.mk
+endif
ifeq ($(TW_INCLUDE_CRYPTO), true)
include $(commands_recovery_local_path)/crypto/ics/Android.mk
endif
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 9431c94..dc97e91 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -79,9 +79,12 @@
TW_NO_EXFAT := true
endif
ifneq ($(TW_NO_EXFAT), true)
- RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/exfat-fuse
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/mkexfatfs
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libexfat.so
+ TW_NO_EXFAT_FUSE := true
+endif
+ifneq ($(TW_NO_EXFAT_FUSE), true)
+ RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/exfat-fuse
endif
ifeq ($(TW_INCLUDE_BLOBPACK), true)
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/blobpack