diff options
Diffstat (limited to '')
-rw-r--r-- | prebuilt/Android.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index 068367c83..df14bbdac 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -189,10 +189,18 @@ ifneq ($(wildcard external/pcre/Android.mk),) RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libpcre.so endif ifeq ($(TW_INCLUDE_NTFS_3G),true) +ifeq ($(shell test $(CM_PLATFORM_SDK_VERSION) -ge 4; echo $$?),0) + RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mount.ntfs + RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/fsck.ntfs + RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mkfs.ntfs + RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libntfs-3g.so + RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libfuse.so +else RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/ntfs-3g RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/ntfsfix RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mkntfs endif +endif TWRP_AUTOGEN := $(intermediates)/teamwin |