mtdutils: fix rk3xhack filter
Just fix filter for correct platform
Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I1f0978a6b215a1967dad4a2c495777d917865b88
diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk
index bd426a0..6843fa9 100644
--- a/mtdutils/Android.mk
+++ b/mtdutils/Android.mk
@@ -7,7 +7,7 @@
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 @@
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