From b9afc2bf15822d09af188912ac27bd81bf078394 Mon Sep 17 00:00:00 2001 From: Ji-Hwan Lee Date: Thu, 19 Jun 2014 02:02:50 +0900 Subject: Use LOCAL_REQUIRED_MODULES for mkfs.f2fs Instead of LOCAL_ADDITIONAL_DEPENDENCIES. Bug: 15702524 Change-Id: Ic152ae60354bf09eccdb9a85dcd04f0f076a6422 --- Android.mk | 8 +++----- 1 file 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 -- cgit v1.2.3