summaryrefslogtreecommitdiffstats
path: root/mtdutils/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mtdutils/Android.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk
index 117de78dc..bd426a022 100644
--- a/mtdutils/Android.mk
+++ b/mtdutils/Android.mk
@@ -7,9 +7,9 @@ LOCAL_SRC_FILES := \
mtdutils.c \
mounts.c
-ifeq ($(TARGET_BOARD_PLATFORM),rk30xx)
-LOCAL_SRC_FILES += rk30hack.c
-LOCAL_CFLAGS += -DRK3066
+ifeq ($(filter rk30xx rk3188,$(TARGET_BOARD_PLATFORM)),)
+LOCAL_SRC_FILES += rk3xhack.c
+LOCAL_CFLAGS += -DRK3X
endif
LOCAL_MODULE := libmtdutils
@@ -24,9 +24,9 @@ LOCAL_SRC_FILES := \
mtdutils.c \
mounts.c
-ifeq ($(TARGET_BOARD_PLATFORM),rk30xx)
-LOCAL_SRC_FILES += rk30hack.c
-LOCAL_CFLAGS += -DRK3066
+ifeq ($(filter rk30xx rk3188,$(TARGET_BOARD_PLATFORM)),)
+LOCAL_SRC_FILES += rk3xhack.c
+LOCAL_CFLAGS += -DRK3X
endif
LOCAL_MODULE := libmtdutils