From d35a9295511fc87680ae1459483f7eef8028e2e1 Mon Sep 17 00:00:00 2001 From: kub Date: Fri, 12 Mar 2021 22:10:15 +0100 Subject: [PATCH] libretro, build fix for ps2 --- Makefile.libretro | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index e1d4414d..748618cc 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -182,6 +182,7 @@ else ifeq ($(platform), psl1ght) # PSP else ifeq ($(platform), psp1) + ARCH = mipsel TARGET := $(TARGET_NAME)_libretro_$(platform).a CC = psp-gcc$(EXE_EXT) AR = psp-ar$(EXE_EXT) @@ -190,11 +191,9 @@ else ifeq ($(platform), psp1) STATIC_LINKING = 1 NO_MMAP = 1 - ARCH = mipsel - asm_render = 1 - # PS2 else ifeq ($(platform), ps2) + ARCH = mipsel TARGET := $(TARGET_NAME)_libretro_$(platform).a CC = ee-gcc$(EXE_EXT) AR = ee-ar$(EXE_EXT) @@ -204,10 +203,6 @@ else ifeq ($(platform), ps2) STATIC_LINKING = 1 NO_MMAP = 1 - ARCH = mipsel - asm_render = 1 - OBJS += platform/libretro/ps2/asm.o - # CTR (3DS) else ifeq ($(platform), ctr) TARGET := $(TARGET_NAME)_libretro_$(platform).a @@ -296,13 +291,13 @@ else ifeq ($(platform), libnx) # QNX else ifeq ($(platform), qnx) + ARCH = arm TARGET := $(TARGET_NAME)_libretro_$(platform).so fpic := -fPIC CC = qcc -Vgcc_ntoarmv7le CC_AS = $(CC) CFLAGS += -DBASE_ADDR_FIXED=0 -D__BLACKBERRY_QNX__ -marm -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp ASFLAGS += -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp - ARCH = arm # (armv7 a7, hard point, neon based) ### # NESC, SNESC, C64 mini -- 2.39.5