X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=Makefile.libretro;h=1b6d25dad617912967fb164c9ae8ce43d7aadd35;hb=f9e77751fabfa0e73111ec28bcb2d864a918492a;hp=8212232534e41599d575a88141b5312b79dff33a;hpb=d54274b5deb15c0345387f6153c428e44c8ba703;p=picodrive.git diff --git a/Makefile.libretro b/Makefile.libretro index 8212232..1b6d25d 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -228,6 +228,34 @@ else ifeq ($(platform), ctr) OBJS +=platform/libretro/3ds/3ds_utils.o +# Raspberry Pi (original model) Raspbian +else ifeq ($(platform), raspberrypi) + CFLAGS += -marm -mfpu=vfp -mfloat-abi=hard -march=armv6j + CFLAGS += -Wall -mword-relocations + CFLAGS += -fomit-frame-pointer -ffast-math + ARCH = arm + ARM_ASM = 1 + + TARGET := $(TARGET_NAME)_libretro.so + SHARED := -shared -nostdlib + fpic := -fPIC + DONT_COMPILE_IN_ZLIB = 1 + + asm_memory = 1 + asm_render = 1 + asm_ym2612 = 1 + asm_misc = 1 + asm_cdpico = 1 + asm_cdmemory = 1 + asm_mix = 1 + + use_cyclone = 1 + use_fame = 0 + use_drz80 = 1 + use_cz80 = 0 + use_sh2drc = 1 + use_svpdrc = 1 + # Vita else ifeq ($(platform), vita) TARGET := $(TARGET_NAME)_libretro_vita.a @@ -327,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