mirror of
https://github.com/libretro/nestopia.git
synced 2024-11-27 02:30:25 +00:00
Merge pull request #42 from jdorigao/rpi3_64
Added rpi1/rpi3_64 to makefile
This commit is contained in:
commit
ea6f1c0631
@ -191,6 +191,14 @@ else ifeq ($(platform), ctr)
|
||||
PLATFORM_DEFINES += -fomit-frame-pointer -fstrict-aliasing -ffast-math
|
||||
STATIC_LINKING = 1
|
||||
|
||||
# Raspberry Pi 1 (Raspbian)
|
||||
else ifeq ($(platform), rpi1)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,-version-script=link.T -Wl,-no-undefined
|
||||
PLATFORM_DEFINES += -marm -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -ffast-math
|
||||
PLATFORM_DEFINES += -DARM11
|
||||
|
||||
# Raspberry Pi 2 (Raspbian)
|
||||
else ifeq ($(platform), rpi2)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
@ -207,6 +215,13 @@ else ifeq ($(platform), rpi3)
|
||||
PLATFORM_DEFINES += -marm -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -ffast-math
|
||||
PLATFORM_DEFINES += -DARM
|
||||
|
||||
# Raspberry Pi 3 (64-bit)
|
||||
else ifeq ($(platform), rpi3_64)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,-version-script=link.T -Wl,-no-undefined
|
||||
PLATFORM_DEFINES += -mcpu=cortex-a53 -mtune=cortex-a53 -ffast-math
|
||||
|
||||
# Raspberry Pi 4 (64-bit)
|
||||
else ifeq ($(platform), rpi4_64)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
|
Loading…
Reference in New Issue
Block a user