Merge pull request #49 from vanfanel/master

Add Raspberry Pi 4 64bit platform
This commit is contained in:
Autechre 2020-11-18 05:22:20 +01:00 committed by GitHub
commit bffe3550f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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