Add retrofw target
This commit is contained in:
@@ -434,6 +434,17 @@ else ifeq ($(platform), gcw0)
|
|||||||
PLATFORM_DEFINES += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float -fomit-frame-pointer
|
PLATFORM_DEFINES += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float -fomit-frame-pointer
|
||||||
EXTERNAL_ZLIB = 1
|
EXTERNAL_ZLIB = 1
|
||||||
|
|
||||||
|
# RETROFW
|
||||||
|
else ifeq ($(platform), retrofw)
|
||||||
|
TARGET := $(TARGET_NAME)_libretro.so
|
||||||
|
CC = /opt/retrofw-toolchain/usr/bin/mipsel-linux-gcc
|
||||||
|
CXX = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
|
||||||
|
AR = /opt/retrofw-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=mips32 -mhard-float -fomit-frame-pointer
|
||||||
|
EXTERNAL_ZLIB = 1
|
||||||
|
|
||||||
# Windows MSVC 2017 all architectures
|
# Windows MSVC 2017 all architectures
|
||||||
else ifneq (,$(findstring windows_msvc2017,$(platform)))
|
else ifneq (,$(findstring windows_msvc2017,$(platform)))
|
||||||
CC = cl.exe
|
CC = cl.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user