From f68351209f25ac92d12deb827e6efb5400052ac2 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Tue, 27 Oct 2015 21:53:18 -0700 Subject: recovery: Depend on mkfs.f2fs only if needed. Don't build mkfs.f2fs unless device defines TARGET_USERIMAGES_USE_F2FS. Change-Id: Ifac592c30315bbe7590c8fbf3a0844e6a7a31a1a --- Android.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Android.mk b/Android.mk index 74e7b1da5..4ffa5c9de 100644 --- a/Android.mk +++ b/Android.mk @@ -45,9 +45,11 @@ LOCAL_MODULE := recovery LOCAL_FORCE_STATIC_EXECUTABLE := true +ifeq ($(TARGET_USERIMAGES_USE_F2FS),true) ifeq ($(HOST_OS),linux) LOCAL_REQUIRED_MODULES := mkfs.f2fs endif +endif RECOVERY_API_VERSION := 3 RECOVERY_FSTAB_VERSION := 2 -- cgit v1.2.3