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