Merge pull request #42 from jdorigao/rpi3_64

Added rpi1/rpi3_64 to makefile
This commit is contained in:
Autechre 2021-10-10 11:33:09 +02:00 committed by GitHub
commit ea6f1c0631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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