recovery: Depend on mkfs.f2fs only if needed.

Don't build mkfs.f2fs unless device defines TARGET_USERIMAGES_USE_F2FS.

Change-Id: Ifac592c30315bbe7590c8fbf3a0844e6a7a31a1a
This commit is contained in:
Tao Bao 2015-10-27 21:53:18 -07:00
parent f204185f71
commit f68351209f

View file

@ -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