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:
parent
f204185f71
commit
f68351209f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue