make.sh: Add cross-building for aarch64
Commit Message
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
doc/make.sh-usage | 10 +++++-----
make.sh | 3 +++
2 files changed, 8 insertions(+), 5 deletions(-)
@@ -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.
@@ -862,6 +862,9 @@ qemu_find_build_helper_name() {
local magic
case "${build_arch}" in
+ aarch64)
+ magic="7f454c460201010000000000000000000200b700"
+ ;;
arm*)
magic="7f454c4601010100000000000000000002002800"
;;