summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorJi-Hwan Lee <jihwan@google.com>2014-06-19 02:02:50 +0900
committerJi-Hwan Lee <jihwan@google.com>2014-06-18 17:30:14 +0000
commitb9afc2bf15822d09af188912ac27bd81bf078394 (patch)
treefea23e5e12bc3df25dd66f323623887f42f2d8d6 /Android.mk
parent37aedb3fafcccd0da5bd9089987f05895c27492d (diff)
downloadbootable_recovery-b9afc2bf15822d09af188912ac27bd81bf078394.zip
bootable_recovery-b9afc2bf15822d09af188912ac27bd81bf078394.tar.gz
bootable_recovery-b9afc2bf15822d09af188912ac27bd81bf078394.tar.bz2
Use LOCAL_REQUIRED_MODULES for mkfs.f2fs
Instead of LOCAL_ADDITIONAL_DEPENDENCIES. Bug: 15702524 Change-Id: Ic152ae60354bf09eccdb9a85dcd04f0f076a6422
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk
index 1970956..1165acb 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