summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Android.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk
index 1970956b5..1165acba4 100644
--- a/Android.mk
+++ b/Android.mk
@@ -32,11 +32,9 @@ LOCAL_MODULE := recovery
LOCAL_FORCE_STATIC_EXECUTABLE := true
-# Not working as expected?
-# LOCAL_ADDITIONAL_DEPENDENCIES := mkfs.f2fs
-# LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_RECOVERY_ROOT_OUT)/sbin/mkfs.f2fs
-LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_ROOT_OUT_SBIN)/mkfs.f2fs
-
+ifeq ($(HOST_OS),linux)
+LOCAL_REQUIRED_MODULES := mkfs.f2fs
+endif
RECOVERY_API_VERSION := 3
RECOVERY_FSTAB_VERSION := 2