(Android) Add x86 target too
This commit is contained in:
parent
f10da5d664
commit
b3fe5aa3e4
|
@ -3,15 +3,18 @@ LOCAL_PATH := $(call my-dir)
|
|||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := retro
|
||||
CPU_ARCH :=
|
||||
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
LOCAL_CFLAGS += -DANDROID_ARM
|
||||
LOCAL_CFLAGS += -DANDROID_ARM -DARM_ARCH
|
||||
LOCAL_ARM_MODE := arm
|
||||
CPU_ARCH := arm
|
||||
endif
|
||||
|
||||
#ifeq ($(TARGET_ARCH),x86)
|
||||
#LOCAL_CFLAGS += -DANDROID_X86
|
||||
#endif
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
LOCAL_CFLAGS += -DANDROID_X86
|
||||
CPU_ARCH := x86_32
|
||||
endif
|
||||
|
||||
#ifeq ($(TARGET_ARCH),mips)
|
||||
#LOCAL_CFLAGS += -DANDROID_MIPS -D__mips__ -D__MIPSEL__
|
||||
|
@ -22,11 +25,10 @@ CORE_DIR := ..
|
|||
SOURCES_C :=
|
||||
SOURCES_ASM :=
|
||||
|
||||
CPU_ARCH := arm
|
||||
|
||||
include $(CORE_DIR)/Makefile.common
|
||||
|
||||
LOCAL_SRC_FILES := $(SOURCES_C) $(SOURCES_ASM)
|
||||
LOCAL_CFLAGS += -O2 -DHAVE_MMAP -DARM_ARCH -DNDEBUG -DINLINE=inline -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 $(INCFLAGS)
|
||||
LOCAL_CFLAGS += -O2 -DHAVE_MMAP -DNDEBUG -DPC_BUILD -DINLINE=inline -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 $(INCFLAGS)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
|
|
@ -1 +1 @@
|
|||
APP_ABI := armeabi armeabi-v7a
|
||||
APP_ABI := armeabi armeabi-v7a x86
|
||||
|
|
Loading…
Reference in New Issue