Commit 41dd8823 authored by Vanfanel's avatar Vanfanel
Browse files

Add Raspberry Pi 4 64bit platform

parent 559be1d8
......@@ -69,13 +69,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
FLAGS += -DHAVE_MKDIR
......
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