2009-03-04 03:28:42 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
2011-04-25 18:16:41 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := mtdutils.c
|
2009-03-04 03:28:42 +00:00
|
|
|
LOCAL_MODULE := libmtdutils
|
2011-04-25 18:16:41 +00:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
2009-03-04 03:28:42 +00:00
|
|
|
|
2011-04-25 18:16:41 +00:00
|
|
|
ifeq ($(BOARD_USES_BML_OVER_MTD),true)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := bml_over_mtd.c
|
|
|
|
LOCAL_C_INCLUDES += bootable/recovery/mtdutils
|
|
|
|
LOCAL_MODULE := libbml_over_mtd
|
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
LOCAL_CFLAGS += -Dmain=bml_over_mtd_main
|
2009-03-04 03:28:42 +00:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2011-04-25 18:16:41 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := bml_over_mtd.c
|
|
|
|
LOCAL_MODULE := bml_over_mtd
|
|
|
|
LOCAL_MODULE_TAGS := eng
|
|
|
|
LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
|
|
|
|
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
|
|
|
|
LOCAL_UNSTRIPPED_PATH := $(PRODUCT_OUT)/symbols/utilities
|
|
|
|
LOCAL_MODULE_STEM := bml_over_mtd
|
|
|
|
LOCAL_C_INCLUDES += bootable/recovery/mtdutils
|
|
|
|
LOCAL_STATIC_LIBRARIES := libmtdutils libcutils libc
|
|
|
|
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
endif
|