summaryrefslogtreecommitdiffstats
path: root/mtdutils/Android.mk
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-01-07 19:54:47 +0100
committerGerrit Code Review <gerrit@5.9.244.119>2013-01-07 19:54:47 +0100
commit37407646b957b880876c56c19032b07a1c028656 (patch)
treef8274f194bbda84057b90aada803a5a20bf61712 /mtdutils/Android.mk
parentAdd mode when open(O_CREAT) is used. (diff)
parentWork around MEMERASE ioctl for rk3066 compatibility (diff)
downloadandroid_bootable_recovery-37407646b957b880876c56c19032b07a1c028656.tar
android_bootable_recovery-37407646b957b880876c56c19032b07a1c028656.tar.gz
android_bootable_recovery-37407646b957b880876c56c19032b07a1c028656.tar.bz2
android_bootable_recovery-37407646b957b880876c56c19032b07a1c028656.tar.lz
android_bootable_recovery-37407646b957b880876c56c19032b07a1c028656.tar.xz
android_bootable_recovery-37407646b957b880876c56c19032b07a1c028656.tar.zst
android_bootable_recovery-37407646b957b880876c56c19032b07a1c028656.zip
Diffstat (limited to 'mtdutils/Android.mk')
-rw-r--r--mtdutils/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk
index 12322b457..0c238e1d2 100644
--- a/mtdutils/Android.mk
+++ b/mtdutils/Android.mk
@@ -7,9 +7,14 @@ LOCAL_SRC_FILES := \
mtdutils.c \
mounts.c
+ifeq ($(TARGET_BOARD_PLATFORM),rk30xx)
+LOCAL_SRC_FILES += rk30hack.c
+endif
+
LOCAL_MODULE := libmtdutils
LOCAL_STATIC_LIBRARIES := libcutils libc
LOCAL_FORCE_STATIC_EXECUTABLE := true
+
include $(BUILD_STATIC_LIBRARY)
endif # !TARGET_SIMULATOR