1
0
Fork 0

Add ARM platforms to the build script

This commit is contained in:
krcroft 2020-04-12 17:36:38 -07:00 committed by Patryk Obara
parent 1503fb4ebc
commit 96943eb68b
24 changed files with 125 additions and 13 deletions

View file

@ -5,10 +5,10 @@ cc=""
cxx=""
ld=""
ranlib=""
cflags=(-Wall -pipe)
cxxonly=("")
ldflags=("")
libs=("")
cflags+=(-Wall -pipe)
cxxonly+=("")
ldflags+=("")
libs+=("")
# Use ccache if it's available
if command -v ccache &> /dev/null; then

View file

@ -0,0 +1,2 @@
# GCC flags for generically identified ARMv7 MALI SBCs
cflags_release+=(-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard)

View file

@ -0,0 +1,3 @@
# GCC flags specific to NXP's series of i.MX 6 SBCs
cflags_release+=(-march=armv7-a -mfpu=neon -mtune=cortex-a9
-mfloat-abi=hard)

View file

@ -0,0 +1,2 @@
# GCC flags specific to Hardkernel Co's ODROID-C1 SBC
cflags_release+=(-mcpu=cortex-a5 -mfpu=neon-vfpv4 -mfloat-abi=hard)

View file

@ -0,0 +1,3 @@
# GCC flags specific to Hardkernel Co's ODROID-C2 SBC
cflags_release+=(-march=armv8-a+crc -mtune=cortex-a53
-mfpu=neon-fp-armv8)

View file

@ -0,0 +1,2 @@
# GCC flags specific to Hardkernel Co's ODROID-XU SBC
cflags_release+=(-mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard)

View file

@ -0,0 +1,2 @@
# GCC flags specific to the Raspberry Pi 1 series of SBC
cflags_release+=(-mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard)

View file

@ -0,0 +1,2 @@
# GCC flags specific to the Raspberry Pi 2 series of SBC
cflags_release+=(-mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard)

View file

@ -0,0 +1,4 @@
# GCC flags specific to the Raspberry Pi 3 series of SBC
cflags_release+=(-march=armv8-a+crc -mtune=cortex-a53
-mfpu=neon-fp-armv8 -mfloat-abi=hard)

View file

@ -0,0 +1,3 @@
# GCC flags specific to the Raspberry Pi 4 series of SBC
cflags_release+=(-march=armv8-a+crc -mtune=cortex-a72
-mfpu=neon-fp-armv8 -mfloat-abi=hard)

View file

@ -0,0 +1,3 @@
# GCC flags specific to the ASUS Tinker Board SBC
cflags_release+=(-marm -march=armv7-a -mtune=cortex-a17 -mfpu=neon-vfpv4
-mfloat-abi=hard)

View file

@ -0,0 +1,2 @@
# GCC flags specific to the OSMC Vero 4K SBC
cflags_release+=(-mcpu=cortex-a7 -mfpu=neon-vfpv4)

View file

View file

View file

View file

View file

View file

@ -0,0 +1,3 @@
# Universal flags specific to the OSMC Vero 4K SBC
cflags+=(-I/opt/vero3/include)
ldflags+=(-L/opt/vero3/lib)