aboutsummaryrefslogtreecommitdiffstats
path: root/mtdutils/Android.mk
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:28:42 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:28:42 -0800
commitc24a8e688a6312764254beac2b2520bb0c5e998d (patch)
tree7df23711566b358047301d8413ee399105546e8b /mtdutils/Android.mk
parentffb48f64fec674c6dd923eb8b1eb3f743e05a8ba (diff)
downloadbootable_recovery-c24a8e688a6312764254beac2b2520bb0c5e998d.zip
bootable_recovery-c24a8e688a6312764254beac2b2520bb0c5e998d.tar.gz
bootable_recovery-c24a8e688a6312764254beac2b2520bb0c5e998d.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'mtdutils/Android.mk')
-rw-r--r--mtdutils/Android.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk
new file mode 100644
index 0000000..1a75423
--- /dev/null
+++ b/mtdutils/Android.mk
@@ -0,0 +1,23 @@
+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
+LOCAL_STATIC_LIBRARIES := libmtdutils
+LOCAL_SHARED_LIBRARIES := libcutils libc
+include $(BUILD_EXECUTABLE)
+
+endif # TARGET_ARCH == arm
+endif # !TARGET_SIMULATOR