Merge pull request #21 from tuluse/master
authorTwinaphex <libretro@gmail.com>
Fri, 4 Mar 2016 05:04:25 +0000 (06:04 +0100)
committerTwinaphex <libretro@gmail.com>
Fri, 4 Mar 2016 05:04:25 +0000 (06:04 +0100)
PSP build fix

1  2 
Makefile.libretro

diff --combined Makefile.libretro
@@@ -193,7 -193,7 +193,7 @@@ else ifeq ($(platform), psp1
        use_drz80 = 0
        use_cz80 = 1
  
+     OBJS +=platform/libretro/psp/draw_amips.o
  
  # CTR (3DS)
  else ifeq ($(platform), ctr)
@@@ -355,29 -355,6 +355,29 @@@ else ifneq (,$(findstring armv,$(platfo
        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