public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] make.sh: Add cross-building for aarch64
Date: Wed, 05 Aug 2020 17:00:54 +0000	[thread overview]
Message-ID: <20200805170054.22723-1-michael.tremer@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 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
 
 
 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 a2e54f233..9f94feddb 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.20.1


                 reply	other threads:[~2020-08-05 17:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200805170054.22723-1-michael.tremer@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox