mirror of
https://github.com/libretro/beetle-lynx-libretro.git
synced 2024-11-27 02:12:46 +00:00
Merge pull request #49 from vanfanel/master
Add Raspberry Pi 4 64bit platform
This commit is contained in:
commit
bffe3550f0
4
Makefile
4
Makefile
@ -69,13 +69,15 @@ ifneq (,$(findstring unix,$(platform)))
|
|||||||
|
|
||||||
# Raspberry Pi
|
# Raspberry Pi
|
||||||
ifneq (,$(findstring rpi,$(platform)))
|
ifneq (,$(findstring rpi,$(platform)))
|
||||||
FLAGS += -fomit-frame-pointer -ffast-math
|
FLAGS += -fomit-frame-pointer
|
||||||
ifneq (,$(findstring rpi1,$(platform)))
|
ifneq (,$(findstring rpi1,$(platform)))
|
||||||
FLAGS += -DARM -marm -march=armv6j -mfpu=vfp -mfloat-abi=hard
|
FLAGS += -DARM -marm -march=armv6j -mfpu=vfp -mfloat-abi=hard
|
||||||
else ifneq (,$(findstring rpi2,$(platform)))
|
else ifneq (,$(findstring rpi2,$(platform)))
|
||||||
FLAGS += -DARM -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
|
FLAGS += -DARM -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
|
||||||
else ifneq (,$(findstring rpi3,$(platform)))
|
else ifneq (,$(findstring rpi3,$(platform)))
|
||||||
FLAGS += -DARM -marm -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
|
FLAGS += -DARM -marm -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
|
||||||
|
else ifneq (,$(findstring rpi4_64,$(platform)))
|
||||||
|
FLAGS += -DARM -march=armv8-a+crc+simd -mtune=cortex-a72
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
FLAGS += -DHAVE_MKDIR
|
FLAGS += -DHAVE_MKDIR
|
||||||
|
Loading…
Reference in New Issue
Block a user