From: Michael Tremer Date: Wed, 5 Aug 2020 17:00:54 +0000 (+0000) Subject: make.sh: Add cross-building for aarch64 X-Git-Tag: v2.25-core149~6^2~122 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4576ca4cc798d664a2d551762058c98d311ac0bc;p=ipfire-2.x.git make.sh: Add cross-building for aarch64 Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- 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 df7e74c925..544320f090 100755 --- a/make.sh +++ b/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" ;;