summaryrefslogtreecommitdiffstats
path: root/mtdutils/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-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