From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] make.sh: Add cross-building for aarch64 Date: Wed, 05 Aug 2020 17:00:54 +0000 Message-ID: <20200805170054.22723-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4299119909293129733==" List-Id: --===============4299119909293129733== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 78a73efac..5e1e3dd22 100644 --- a/doc/make.sh-usage +++ b/doc/make.sh-usage @@ -16,8 +16,8 @@ Maintainer / advanced commands =20 =20 Options: - --target=3D[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=3D in - .config. + --target=3D[aarch64|armv5tel|i586] : Cross-compile for this target archi= tecture. + Uses the QEMU emulator if needed to v= irtualise + the desired target architecture. + Can be permanently set with TARGET_AR= CH=3D in + .config. diff --git a/make.sh b/make.sh index a2e54f233..9f94feddb 100755 --- a/make.sh +++ b/make.sh @@ -862,6 +862,9 @@ qemu_find_build_helper_name() { =20 local magic case "${build_arch}" in + aarch64) + magic=3D"7f454c460201010000000000000000000200b700" + ;; arm*) magic=3D"7f454c4601010100000000000000000002002800" ;; --=20 2.20.1 --===============4299119909293129733==--