From f5637566d81b39bcda42e8943a313474869b5979 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 5 Aug 2020 16:56:30 +0000 Subject: [PATCH] make.sh: Add cross-building for aarch64 Signed-off-by: Michael Tremer --- doc/make.sh-usage | 10 +++++----- make.sh | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/make.sh-usage b/doc/make.sh-usage index 78a73efacb..5e1e3dd228 100644 --- a/doc/make.sh-usage +++ b/doc/make.sh-usage @@ -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. diff --git a/make.sh b/make.sh index a2e54f2339..9f94feddb6 100755 --- a/make.sh +++ b/make.sh @@ -862,6 +862,9 @@ qemu_find_build_helper_name() { local magic case "${build_arch}" in + aarch64) + magic="7f454c460201010000000000000000000200b700" + ;; arm*) magic="7f454c4601010100000000000000000002002800" ;; -- 2.39.5