mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-26 11:11:48 +01:00
Add rpi1 platform definitions with notable speed up on 8bit sega systems! corrected rpi2 platform definitions identation.
This commit is contained in:
parent
1869cde3e7
commit
c276fb219d
@ -176,17 +176,29 @@ else ifeq ($(platform), ctr)
|
|||||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||||
STATIC_LINKING = 1
|
STATIC_LINKING = 1
|
||||||
|
|
||||||
|
# Raspberry Pi 1
|
||||||
|
else ifeq ($(platform), rpi1)
|
||||||
|
TARGET := $(TARGET_NAME)_libretro.so
|
||||||
|
fpic := -fPIC
|
||||||
|
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined
|
||||||
|
PLATFORM_DEFINES := -DHAVE_ZLIB
|
||||||
|
PLATFORM_DEFINES += -DARM
|
||||||
|
PLATFORM_DEFINES += -marm -march=armv6j -mfloat-abi=hard -mfpu=vfp -funsafe-math-optimizations
|
||||||
|
ENDIANNESS_DEFINES := -DLSB_FIRST -DALIGN_LONG -DBYTE_ORDER=LITTLE_ENDIAN
|
||||||
|
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||||
|
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
|
||||||
|
|
||||||
# Raspberry Pi 2
|
# Raspberry Pi 2
|
||||||
else ifeq ($(platform), rpi2)
|
else ifeq ($(platform), rpi2)
|
||||||
TARGET := $(TARGET_NAME)_libretro.so
|
TARGET := $(TARGET_NAME)_libretro.so
|
||||||
fpic := -fPIC
|
fpic := -fPIC
|
||||||
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined
|
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined
|
||||||
PLATFORM_DEFINES := -DHAVE_ZLIB
|
PLATFORM_DEFINES := -DHAVE_ZLIB
|
||||||
PLATFORM_DEFINES += -DARM
|
PLATFORM_DEFINES += -DARM
|
||||||
PLATFORM_DEFINES += -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations
|
PLATFORM_DEFINES += -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations
|
||||||
ENDIANNESS_DEFINES := -DLSB_FIRST -DALIGN_LONG -DBYTE_ORDER=LITTLE_ENDIAN
|
ENDIANNESS_DEFINES := -DLSB_FIRST -DALIGN_LONG -DBYTE_ORDER=LITTLE_ENDIAN
|
||||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||||
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
|
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
|
||||||
|
|
||||||
# Xbox 360
|
# Xbox 360
|
||||||
else ifeq ($(platform), xenon)
|
else ifeq ($(platform), xenon)
|
||||||
|
Loading…
Reference in New Issue
Block a user