aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTwinaphex2016-05-02 22:22:51 +0200
committerTwinaphex2016-05-02 22:22:51 +0200
commita109c90ae4f8456c9e33df026047dec84ef3decb (patch)
tree7c608e5e22aaf460d219ed56cff3c79e28361845
parent18ef7635b0b265350eb8304a26edeb8d4b0b2e19 (diff)
parentea13a2f2a71d6bbd2c7e02ccf951e010e464b46f (diff)
downloadpcsx_rearmed-a109c90ae4f8456c9e33df026047dec84ef3decb.tar.gz
pcsx_rearmed-a109c90ae4f8456c9e33df026047dec84ef3decb.tar.bz2
pcsx_rearmed-a109c90ae4f8456c9e33df026047dec84ef3decb.zip
Merge pull request #35 from loganmc10/master
Add support for Raspberry Pi 2
-rw-r--r--Makefile.libretro13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index ee1449e..e0dfe25 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -181,7 +181,7 @@ else ifeq ($(platform), wii)
# QNX
else ifeq ($(platform), qnx)
TARGET := $(TARGET_NAME)_libretro_qnx.so
- fpic := -fPIC
+ fpic := -fPIC
CC = qcc -Vgcc_ntoarmv7le
CC_AS = $(CC)
HAVE_NEON = 1
@@ -192,6 +192,17 @@ else ifeq ($(platform), qnx)
CFLAGS += -DBASE_ADDR_FIXED=0 -D__BLACKBERRY_QNX__ -marm -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp
ASFLAGS += -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp
+#Raspberry Pi 2
+else ifeq ($(platform), rpi2)
+ TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC
+ SHARED := -shared -Wl,--no-undefined
+ CFLAGS += -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
+ HAVE_NEON = 1
+ ARCH = arm
+ BUILTIN_GPU = neon
+ USE_DYNAREC = 1
+
# ARM
else ifneq (,$(findstring armv,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so