mirror of
https://github.com/CTCaer/CTCaer-TWRP.git
synced 2025-02-06 02:58:06 +00:00
Fix compiling for x86 targets
This commit is contained in:
parent
5fface832f
commit
4c11714527
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user