From f9e77751fabfa0e73111ec28bcb2d864a918492a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 1 Mar 2016 22:31:33 +0100 Subject: [PATCH] Add GCW Zero target --- Makefile.libretro | 23 +++++++++++++++++++++++ platform/libpicofe | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 1de11c6..1b6d25d 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -355,6 +355,29 @@ else ifneq (,$(findstring armv,$(platform))) endif ARCH = arm +# GCW0 +else ifeq ($(platform), gcw0) + TARGET := $(TARGET_NAME)_libretro.so + CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc + AR = /opt/gcw0-toolchain/usr/bin/mipsel-linux-ar + SHARED := -shared -nostdlib + fpic := -fPIC + LIBM := + DONT_COMPILE_IN_ZLIB = 1 + CFLAGS += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float + + asm_memory = 0 + asm_render = 0 + asm_ym2612 = 0 + asm_misc = 0 + asm_cdpico = 0 + asm_cdmemory = 0 + asm_mix = 0 + use_cyclone = 0 + use_fame = 1 + use_drz80 = 0 + use_cz80 = 1 + # Windows else TARGET := $(TARGET_NAME)_libretro.dll diff --git a/platform/libpicofe b/platform/libpicofe index 0415ebf..21604a0 160000 --- a/platform/libpicofe +++ b/platform/libpicofe @@ -1 +1 @@ -Subproject commit 0415ebf191d0d277d1dfba1bebe6f051a5fc89a8 +Subproject commit 21604a047941b8fe81d381ede0371c75da964afd -- 2.39.2