allow overriding mke2fs and htcbatt

Change-Id: Ibff628238c39661874e1e55bfcf6d51516b6bdd5
This commit is contained in:
Koushik Dutta 2011-08-31 23:25:23 -07:00
parent 01ba8bc552
commit d6bf694ff0

View File

@ -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