added supafaust core
This commit is contained in:
parent
3f5f5bfaaf
commit
d5cc9f7cef
9 changed files with 155 additions and 48 deletions
31
cores/patches/mednafen_supafaust.patch
Normal file
31
cores/patches/mednafen_supafaust.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
diff --git forkSrcPrefix/Makefile forkDstPrefix/Makefile
|
||||
index 58120a1a88eab75ca13f2ed062f37d075c05a51b..c60ebf68483aebf7a0dc320e4589f29cf6457013 100644
|
||||
--- forkSrcPrefix/Makefile
|
||||
+++ forkDstPrefix/Makefile
|
||||
@@ -187,6 +187,26 @@ else ifeq ($(platform), wii)
|
||||
|
||||
EXTRA_INCLUDES := -I$(DEVKITPRO)/libogc/include
|
||||
STATIC_LINKING = 1
|
||||
+else ifeq ($(platform), rg35xx)
|
||||
+ TARGET := $(TARGET_NAME)_libretro.so
|
||||
+ CC = $(CROSS_COMPILE)gcc
|
||||
+ CXX = $(CROSS_COMPILE)g++
|
||||
+ AR = $(CROSS_COMPILE)ar
|
||||
+ fpic := -fPIC
|
||||
+ SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
|
||||
+ CFLAGS += -Ofast \
|
||||
+ -flto=4 -fwhole-program -fuse-linker-plugin \
|
||||
+ -fdata-sections -ffunction-sections -Wl,--gc-sections \
|
||||
+ -fno-stack-protector -fno-ident -fomit-frame-pointer \
|
||||
+ -falign-functions=1 -falign-jumps=1 -falign-loops=1 \
|
||||
+ -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-unroll-loops \
|
||||
+ -fmerge-all-constants -fno-math-errno
|
||||
+ CFLAGS += -marm -mtune=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=hard -march=armv7-a -fomit-frame-pointer -DRG35XX
|
||||
+ CXXFLAGS += $(CFLAGS)
|
||||
+ CFLAGS += -fPIC
|
||||
+ LDFLAGS += -flto
|
||||
+ HAVE_NEON = 1
|
||||
+ ARCH = arm
|
||||
else ifneq (,$(findstring rpi,$(platform)))
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
fpic := -fPIC
|
||||
Loading…
Add table
Add a link
Reference in a new issue