From 5552aa38f516668493596b36ea585daa06fe6ab9 Mon Sep 17 00:00:00 2001 From: "Koushik K. Dutta" Date: Mon, 5 Apr 2010 22:25:16 -0700 Subject: [PATCH] Create a static arm dump_image utility. --- mtdutils/Android.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk index 04a579c..c45a5a0 100644 --- a/mtdutils/Android.mk +++ b/mtdutils/Android.mk @@ -54,5 +54,16 @@ LOCAL_MODULE := liberase_image LOCAL_CFLAGS += -Dmain=erase_image_main include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_SRC_FILES := dump_image.c +LOCAL_MODULE := libdump_image +LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES +LOCAL_MODULE_STEM := dump_image +LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities/ +LOCAL_STATIC_LIBRARIES := libmtdutils libcutils libc +LOCAL_FORCE_STATIC_EXECUTABLE := true +include $(BUILD_EXECUTABLE) + endif # TARGET_ARCH == arm endif # !TARGET_SIMULATOR