summaryrefslogtreecommitdiffstats
path: root/mtdutils
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-02-22 21:53:00 +0100
committerGerrit Code Review <gerrit@5.9.244.119>2013-02-22 21:53:00 +0100
commite111382440a53c9291e4907390d86adf3523d2ed (patch)
tree285aaea2064e9d793804e9153144ba0683f4c18f /mtdutils
parentFix compiling on CM7 (diff)
parentmtdutils: add bml_over_mtd target for aries/p1 builds (diff)
downloadandroid_bootable_recovery-e111382440a53c9291e4907390d86adf3523d2ed.tar
android_bootable_recovery-e111382440a53c9291e4907390d86adf3523d2ed.tar.gz
android_bootable_recovery-e111382440a53c9291e4907390d86adf3523d2ed.tar.bz2
android_bootable_recovery-e111382440a53c9291e4907390d86adf3523d2ed.tar.lz
android_bootable_recovery-e111382440a53c9291e4907390d86adf3523d2ed.tar.xz
android_bootable_recovery-e111382440a53c9291e4907390d86adf3523d2ed.tar.zst
android_bootable_recovery-e111382440a53c9291e4907390d86adf3523d2ed.zip
Diffstat (limited to 'mtdutils')
-rw-r--r--mtdutils/Android.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk
index 0c238e1d2..438b3935a 100644
--- a/mtdutils/Android.mk
+++ b/mtdutils/Android.mk
@@ -17,5 +17,28 @@ LOCAL_FORCE_STATIC_EXECUTABLE := true
include $(BUILD_STATIC_LIBRARY)
+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
+include $(BUILD_STATIC_LIBRARY)
+
+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
+
endif # !TARGET_SIMULATOR