Added rpi2 platform defines

This commit is contained in:
vanfanel 2016-02-25 15:47:58 +01:00
parent 9df855665f
commit 10b1d9f815

View File

@ -157,6 +157,16 @@ else ifeq ($(platform), ctr)
CXXFLAGS += $(CFLAGS)
STATIC_LINKING = 1
# Raspberry Pi 2
else ifeq ($(platform), rpi2)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
SHARED := -shared -Wl,-version-script=libretro/link.T
PLATFORM_DEFINES := -DARM
CFLAGS += -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations
CFLAGS += -fomit-frame-pointer -ffast-math
CXXFLAGS += $(CFLAGS)
# Xbox 360
else ifeq ($(platform), xenon)
TARGET := $(TARGET_NAME)_libretro_xenon360.a