mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Support building for armv7hl
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
4
make.sh
4
make.sh
@@ -260,6 +260,10 @@ buildtoolchain() {
|
||||
;;
|
||||
|
||||
# ARM
|
||||
arvm7hl:armv7hl|armv7hl:armv7l)
|
||||
# These are working.
|
||||
;;
|
||||
|
||||
armv5tel:armv5tel|armv5tel:armv5tejl|armv5tel:armv6l|armv5tel:armv7l|armv5tel:aarch64)
|
||||
# These are working.
|
||||
;;
|
||||
|
||||
@@ -86,6 +86,12 @@ configure_target() {
|
||||
CFLAGS_ARCH=""
|
||||
;;
|
||||
|
||||
armv7hl)
|
||||
BUILDTARGET="${target_arch}-unknown-linux-gnueabi"
|
||||
CROSSTARGET="${target_arch}-cross-linux-gnueabi"
|
||||
CFLAGS_ARCH="-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -mthumb"
|
||||
;;
|
||||
|
||||
armv5tel)
|
||||
BUILDTARGET="${target_arch}-unknown-linux-gnueabi"
|
||||
CROSSTARGET="${target_arch}-cross-linux-gnueabi"
|
||||
@@ -131,9 +137,14 @@ configure_target_guess() {
|
||||
echo "aarch64"
|
||||
;;
|
||||
|
||||
armv7*|armv6*|armv5*)
|
||||
armv7*)
|
||||
echo "armv7hl"
|
||||
;;
|
||||
|
||||
armv6*|armv5*)
|
||||
echo "armv5tel"
|
||||
;;
|
||||
|
||||
*)
|
||||
exiterror "Cannot guess target architecture"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user