mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
make.sh: Add cross-building for aarch64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
0db0f7facf
commit
4576ca4cc7
@@ -16,8 +16,8 @@ Maintainer / advanced commands
|
||||
|
||||
|
||||
Options:
|
||||
--target=[armv5tel|i586] : Cross-compile for this target architecture.
|
||||
Uses the QEMU emulator if needed to virtualise
|
||||
the desired target architecture.
|
||||
Can be permanently set with TARGET_ARCH= in
|
||||
.config.
|
||||
--target=[aarch64|armv5tel|i586] : Cross-compile for this target architecture.
|
||||
Uses the QEMU emulator if needed to virtualise
|
||||
the desired target architecture.
|
||||
Can be permanently set with TARGET_ARCH= in
|
||||
.config.
|
||||
|
||||
6
make.sh
6
make.sh
@@ -862,12 +862,12 @@ qemu_find_build_helper_name() {
|
||||
|
||||
local magic
|
||||
case "${build_arch}" in
|
||||
arm*)
|
||||
magic="7f454c4601010100000000000000000002002800"
|
||||
;;
|
||||
aarch64)
|
||||
magic="7f454c460201010000000000000000000200b700"
|
||||
;;
|
||||
arm*)
|
||||
magic="7f454c4601010100000000000000000002002800"
|
||||
;;
|
||||
x86_64)
|
||||
magic="7f454c4602010100000000000000000002003e00"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user