X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.libretro;h=4c60462cefd34e5a78cbc4d00dba3f16686118cf;hb=5201e92fd5476d5022d0e74521c50334ebf94935;hp=e1ba9474ed180255d34e9ca4908d7c1f13a564a8;hpb=9cc1b6c9786f625bcbb130671f8c6f5351ff609e;p=pcsx_rearmed.git diff --git a/Makefile.libretro b/Makefile.libretro index e1ba9474..4c60462c 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -4,7 +4,6 @@ DEBUG ?= 0 WANT_ZLIB ?= 1 HAVE_CHD ?= 1 USE_LIBRETRO_VFS ?= 0 -ENABLE_ICACHE_EMULATION ?= 1 # Dynarec options: lightrec, ari64 DYNAREC ?= lightrec @@ -76,7 +75,7 @@ else ifneq (,$(findstring h5,$(platform))) fpic := -fPIC SHARED := -shared -Wl,-version-script=link.T ARCH = arm64 - DYNAREC ?= lightrec + DYNAREC ?= ari64 CFLAGS += -fomit-frame-pointer -ffast-math -DARM CPUFLAGS += -march=armv8-a+crc -mfpu=neon-fp-armv8 -mcpu=cortex-a53 -mtune=cortex-a53 @@ -237,8 +236,6 @@ else ifeq ($(platform), vita) BUILTIN_GPU = neon DYNAREC = ari64 - DRC_CACHE_BASE = 0 - ARCH = arm STATIC_LINKING = 1 @@ -262,7 +259,6 @@ else ifeq ($(platform), ctr) BUILTIN_GPU = unai THREAD_RENDERING = 1 DYNAREC = ari64 - DRC_CACHE_BASE = 0 ARCH = arm HAVE_NEON = 0 STATIC_LINKING = 1 @@ -296,7 +292,6 @@ else ifeq ($(platform), qnx) CC_AS = $(CC) HAVE_NEON = 1 DYNAREC = ari64 - DRC_CACHE_BASE = 0 BUILTIN_GPU = neon ARCH = arm CFLAGS += -D__BLACKBERRY_QNX__ -marm -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp @@ -344,7 +339,7 @@ else ifeq ($(platform), rpi3_64) TARGET := $(TARGET_NAME)_libretro.so ARCH := arm64 BUILTIN_GPU = unai - DYNAREC = lightrec + DYNAREC = ari64 fpic := -fPIC CFLAGS += -march=armv8-a+crc+simd -mtune=cortex-a53 -ftree-vectorize @@ -364,7 +359,7 @@ else ifeq ($(platform), rpi4_64) TARGET := $(TARGET_NAME)_libretro.so ARCH := arm64 BUILTIN_GPU = unai - DYNAREC = lightrec + DYNAREC = ari64 fpic := -fPIC CFLAGS += -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize @@ -423,7 +418,6 @@ else ifneq (,$(findstring armv,$(platform))) TARGET := $(TARGET_NAME)_libretro.so fpic := -fPIC HAVE_NEON = 0 - DRC_CACHE_BASE = 0 BUILTIN_GPU = peops ifneq (,$(findstring cortexa8,$(platform))) CFLAGS += -marm -mcpu=cortex-a8 @@ -453,6 +447,18 @@ else ifneq (,$(findstring armv,$(platform))) ARCH = arm DYNAREC = ari64 +else ifeq ($(platform), miyoo) + TARGET := $(TARGET_NAME)_libretro.so + CC = /opt/miyoo/usr/bin/arm-linux-gcc + CXX = /opt/miyoo/usr/bin/arm-linux-g++ + fpic := -fPIC + CFLAGS += -mcpu=arm926ej-s -fsingle-precision-constant + CFLAGS += -DGPULIB_USE_MMAP -DGPU_UNAI_USE_INT_DIV_MULTINV -D_MIYOO + ARCH = arm + BUILTIN_GPU = unai + DYNAREC = ari64 + HAVE_NEON = 0 + # Emscripten else ifeq ($(platform), emscripten) TARGET := $(TARGET_NAME)_libretro_$(platform).bc