Fix compiling for x86 targets
diff --git a/flashutils/Android.mk b/flashutils/Android.mk
index 449becc..33f32d6 100644
--- a/flashutils/Android.mk
+++ b/flashutils/Android.mk
@@ -1,7 +1,6 @@
LOCAL_PATH := $(call my-dir)
ifneq ($(TARGET_SIMULATOR),true)
-ifeq ($(TARGET_ARCH),arm)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := flashutils.c
@@ -153,5 +152,4 @@
LOCAL_STATIC_LIBRARIES := libmtdutils
include $(BUILD_EXECUTABLE)
-endif # TARGET_ARCH == arm
endif # !TARGET_SIMULATOR
diff --git a/libcrecovery/Android.mk b/libcrecovery/Android.mk
index 3d28d97..d948dd1 100644
--- a/libcrecovery/Android.mk
+++ b/libcrecovery/Android.mk
@@ -1,7 +1,6 @@
LOCAL_PATH := $(call my-dir)
ifneq ($(TARGET_SIMULATOR),true)
-ifeq ($(TARGET_ARCH),arm)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := system.c popen.c
@@ -10,4 +9,3 @@
include $(BUILD_STATIC_LIBRARY)
endif
-endif
diff --git a/mmcutils/Android.mk b/mmcutils/Android.mk
index 35233a8..1f905d4 100644
--- a/mmcutils/Android.mk
+++ b/mmcutils/Android.mk
@@ -1,5 +1,4 @@
ifneq ($(TARGET_SIMULATOR),true)
-ifeq ($(TARGET_ARCH),arm)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -26,5 +25,4 @@
include $(BUILD_SHARED_LIBRARY)
-endif # TARGET_ARCH == arm
endif # !TARGET_SIMULATOR
diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk
index ec57408..12322b4 100644
--- a/mtdutils/Android.mk
+++ b/mtdutils/Android.mk
@@ -1,5 +1,4 @@
ifneq ($(TARGET_SIMULATOR),true)
-ifeq ($(TARGET_ARCH),arm)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -13,6 +12,5 @@
LOCAL_FORCE_STATIC_EXECUTABLE := true
include $(BUILD_STATIC_LIBRARY)
-endif # TARGET_ARCH == arm
endif # !TARGET_SIMULATOR