Add GCW Zero target

This commit is contained in:
twinaphex
2016-03-01 22:30:22 +01:00
parent 6843db10c6
commit 495a2af534

View File

@@ -233,6 +233,17 @@ else ifneq (,$(findstring armv,$(platform)))
endif
PLATFORM_DEFINES += -DARM
# GCW0
else ifeq ($(platform), gcw0)
TARGET := $(TARGET_NAME)_libretro.so
CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc
CXX = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
AR = /opt/gcw0-toolchain/usr/bin/mipsel-linux-ar
fpic := -fPIC
SHARED := -shared -Wl,--version-script=src/drivers/libretro/link.T -Wl,-no-undefined
PLATFORM_DEFINES += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
CFLAGS += -DHAVE_ASPRINTF
EXTERNAL_ZLIB = 1
# Windows
else
TARGET := $(TARGET_NAME)_libretro.dll