2009-03-04 03:28:42 +00:00
|
|
|
ifneq ($(TARGET_SIMULATOR),true)
|
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
mtdutils.c \
|
|
|
|
mounts.c
|
|
|
|
|
|
|
|
LOCAL_MODULE := libmtdutils
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := flash_image.c
|
|
|
|
LOCAL_MODULE := flash_image
|
2009-07-23 22:17:00 +00:00
|
|
|
LOCAL_MODULE_TAGS := eng
|
2009-03-04 03:28:42 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES := libmtdutils
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libc
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
2010-02-21 01:25:03 +00:00
|
|
|
include $(CLEAR_VARS)
|
2010-02-22 01:52:30 +00:00
|
|
|
LOCAL_SRC_FILES := dump_image.c
|
2010-02-21 01:25:03 +00:00
|
|
|
LOCAL_MODULE := dump_image
|
|
|
|
LOCAL_MODULE_TAGS := eng
|
2010-02-22 01:52:30 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES := libmtdutils
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libc
|
2010-02-21 01:25:03 +00:00
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
2010-03-10 17:29:38 +00:00
|
|
|
include $(CLEAR_VARS)
|
2010-03-19 21:37:11 +00:00
|
|
|
LOCAL_SRC_FILES := erase_image.c
|
|
|
|
LOCAL_MODULE := erase_image
|
2010-03-10 17:29:38 +00:00
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
LOCAL_STATIC_LIBRARIES := libmtdutils
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libc
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
2010-02-15 09:45:38 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := flash_image.c
|
2010-03-03 08:42:58 +00:00
|
|
|
LOCAL_MODULE := libflash_image
|
2010-02-22 16:53:34 +00:00
|
|
|
LOCAL_CFLAGS += -Dmain=flash_image_main
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
2010-02-20 23:59:06 +00:00
|
|
|
|
2010-03-07 21:39:21 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := dump_image.c
|
|
|
|
LOCAL_MODULE := libdump_image
|
|
|
|
LOCAL_CFLAGS += -Dmain=dump_image_main
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
2010-02-20 23:59:06 +00:00
|
|
|
|
2010-03-19 21:37:11 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := erase_image.c
|
|
|
|
LOCAL_MODULE := liberase_image
|
|
|
|
LOCAL_CFLAGS += -Dmain=erase_image_main
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2010-04-06 05:25:16 +00:00
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := dump_image.c
|
2010-04-06 17:12:55 +00:00
|
|
|
LOCAL_MODULE := utility_dump_image
|
2010-04-06 17:23:35 +00:00
|
|
|
LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
|
2010-04-06 17:12:55 +00:00
|
|
|
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
|
|
|
|
LOCAL_UNSTRIPPED_PATH := $(PRODUCT_OUT)/symbols/utilities
|
2010-04-06 05:25:16 +00:00
|
|
|
LOCAL_MODULE_STEM := dump_image
|
|
|
|
LOCAL_STATIC_LIBRARIES := libmtdutils libcutils libc
|
|
|
|
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
2009-03-04 03:28:42 +00:00
|
|
|
endif # TARGET_ARCH == arm
|
|
|
|
endif # !TARGET_SIMULATOR
|