summaryrefslogtreecommitdiffstats
path: root/mtdutils
diff options
context:
space:
mode:
authorjt1134 <jt1134@gmail.com>2013-02-18 07:12:37 +0100
committerjt1134 <jt1134@gmail.com>2013-02-22 02:44:08 +0100
commit19926ecf711bb2cfb3637fc9cda014fd38fab6ee (patch)
tree2044711a8c615fe59f0d5a28cf6acc6ab458798f /mtdutils
parentRemove ignore image size setting (diff)
downloadandroid_bootable_recovery-19926ecf711bb2cfb3637fc9cda014fd38fab6ee.tar
android_bootable_recovery-19926ecf711bb2cfb3637fc9cda014fd38fab6ee.tar.gz
android_bootable_recovery-19926ecf711bb2cfb3637fc9cda014fd38fab6ee.tar.bz2
android_bootable_recovery-19926ecf711bb2cfb3637fc9cda014fd38fab6ee.tar.lz
android_bootable_recovery-19926ecf711bb2cfb3637fc9cda014fd38fab6ee.tar.xz
android_bootable_recovery-19926ecf711bb2cfb3637fc9cda014fd38fab6ee.tar.zst
android_bootable_recovery-19926ecf711bb2cfb3637fc9cda014fd38fab6ee.zip
Diffstat (limited to '')
-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