summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mtdutils/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk
index bd426a022..6843fa94e 100644
--- a/mtdutils/Android.mk
+++ b/mtdutils/Android.mk
@@ -7,7 +7,7 @@ LOCAL_SRC_FILES := \
mtdutils.c \
mounts.c
-ifeq ($(filter rk30xx rk3188,$(TARGET_BOARD_PLATFORM)),)
+ifneq ($(filter rk30xx rk3188,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SRC_FILES += rk3xhack.c
LOCAL_CFLAGS += -DRK3X
endif
@@ -24,7 +24,7 @@ LOCAL_SRC_FILES := \
mtdutils.c \
mounts.c
-ifeq ($(filter rk30xx rk3188,$(TARGET_BOARD_PLATFORM)),)
+ifneq ($(filter rk30xx rk3188,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SRC_FILES += rk3xhack.c
LOCAL_CFLAGS += -DRK3X
endif