From bca924333917a96ba2edde343904dad15587f5b0 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Thu, 6 May 2010 11:50:32 -0700 Subject: [PATCH] add a static flash_image to the utilities --- mtdutils/Android.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk index 3ee6000..8da86a8 100644 --- a/mtdutils/Android.mk +++ b/mtdutils/Android.mk @@ -66,5 +66,17 @@ LOCAL_STATIC_LIBRARIES := libmtdutils libcutils libc LOCAL_FORCE_STATIC_EXECUTABLE := true include $(BUILD_EXECUTABLE) +include $(CLEAR_VARS) +LOCAL_SRC_FILES := flash_image.c +LOCAL_MODULE := utility_flash_image +LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES +LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities +LOCAL_UNSTRIPPED_PATH := $(PRODUCT_OUT)/symbols/utilities +LOCAL_MODULE_STEM := flash_image +LOCAL_STATIC_LIBRARIES := libmtdutils libcutils libc +LOCAL_FORCE_STATIC_EXECUTABLE := true +include $(BUILD_EXECUTABLE) + + endif # TARGET_ARCH == arm endif # !TARGET_SIMULATOR