From d6bf694ff0d00ab096c7926f42ce55b7575fcc1b Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Wed, 31 Aug 2011 23:25:23 -0700 Subject: [PATCH] allow overriding mke2fs and htcbatt Change-Id: Ibff628238c39661874e1e55bfcf6d51516b6bdd5 --- utilities/Android.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/utilities/Android.mk b/utilities/Android.mk index badd25e..fb2e098 100755 --- a/utilities/Android.mk +++ b/utilities/Android.mk @@ -48,7 +48,11 @@ LOCAL_MODULE := mke2fs LOCAL_MODULE_TAGS := eng LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin +ifeq ($(BOARD_MKE2FS),) LOCAL_SRC_FILES := $(LOCAL_MODULE) +else +LOCAL_SRC_FILES := ../../../$(BOARD_MKE2FS) +endif include $(BUILD_PREBUILT) endif @@ -90,7 +94,11 @@ LOCAL_MODULE := htcbatt LOCAL_MODULE_TAGS := eng LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin +ifeq ($(BOARD_HTCBATT),) LOCAL_SRC_FILES := $(LOCAL_MODULE) +else +LOCAL_SRC_FILES := ../../../$(BOARD_HTCBATT) +endif include $(BUILD_PREBUILT) endif