From 09e8693b7a4f329ee929b0a3754ab07d49ceaebd Mon Sep 17 00:00:00 2001 From: TheStrix Date: Wed, 22 Feb 2017 04:48:25 +0530 Subject: Fix missing libf2fs.so needed by mkfs.f2fs * Relink libf2fs.so in all cases except PLATFORM_SDK_VERSION=23 with no CM_PLATFORM_SDK_VERSION set as 4 or above. Change-Id: I58bcc7daeb2d67d41b8912cea73690d94f26dd56 --- prebuilt/Android.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index 887ed5cd3..e34889e23 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -204,6 +204,9 @@ ifeq ($(TARGET_USERIMAGES_USE_F2FS), true) ifeq ($(shell test $(CM_PLATFORM_SDK_VERSION) -ge 4; echo $$?),0) RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mkfs.f2fs RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libf2fs.so + else ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 24; echo $$?),0) + RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mkfs.f2fs + RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libf2fs.so else ifeq ($(shell test $(PLATFORM_SDK_VERSION) -eq 23; echo $$?),0) RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/mkfs.f2fs else ifneq (,$(filter $(PLATFORM_SDK_VERSION), 21 22)) -- cgit v1.2.3