From 4c11714527eee309cf532fcfc3a379d00528ff50 Mon Sep 17 00:00:00 2001 From: Hiemanshu Sharma Date: Wed, 21 Nov 2012 08:37:58 -0600 Subject: Fix compiling for x86 targets --- flashutils/Android.mk | 2 -- libcrecovery/Android.mk | 2 -- mmcutils/Android.mk | 2 -- mtdutils/Android.mk | 2 -- 4 files changed, 8 deletions(-) diff --git a/flashutils/Android.mk b/flashutils/Android.mk index 449beccd4..33f32d6b0 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_SHARED_LIBRARIES := libflashutils libmmcutils libbmlutils libcutils libc 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 3d28d970d..d948dd100 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 @@ LOCAL_MODULE_TAGS := eng include $(BUILD_STATIC_LIBRARY) endif -endif diff --git a/mmcutils/Android.mk b/mmcutils/Android.mk index 35233a844..1f905d46e 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 @@ LOCAL_MODULE_TAGS := eng include $(BUILD_SHARED_LIBRARY) -endif # TARGET_ARCH == arm endif # !TARGET_SIMULATOR diff --git a/mtdutils/Android.mk b/mtdutils/Android.mk index ec5740848..12322b457 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_STATIC_LIBRARIES := libcutils libc LOCAL_FORCE_STATIC_EXECUTABLE := true include $(BUILD_STATIC_LIBRARY) -endif # TARGET_ARCH == arm endif # !TARGET_SIMULATOR -- cgit v1.2.3