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:
Michael Tremer
2020-08-05 17:00:54 +00:00
committed by Arne Fitzenreiter
parent 0db0f7facf
commit 4576ca4cc7
2 changed files with 8 additions and 8 deletions

View File

@@ -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.

View File

@@ -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"
;;