Commit 78836f81 authored by Vanfanel's avatar Vanfanel
Browse files

Add Raspberry Pi 4 64bit mode platform

parent 7e834dc9
......@@ -81,13 +81,15 @@ ifneq (,$(findstring unix,$(platform)))
# Raspberry Pi
ifneq (,$(findstring rpi,$(platform)))
FLAGS += -fomit-frame-pointer -ffast-math
FLAGS += -fomit-frame-pointer
ifneq (,$(findstring rpi1,$(platform)))
FLAGS += -DARM -marm -march=armv6j -mfpu=vfp -mfloat-abi=hard
else ifneq (,$(findstring rpi2,$(platform)))
FLAGS += -DARM -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
else ifneq (,$(findstring rpi3,$(platform)))
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment