]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
make.sh: Add cross-building for aarch64 crossbuild-aarch64
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Aug 2020 16:56:30 +0000 (16:56 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Aug 2020 16:58:11 +0000 (16:58 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
doc/make.sh-usage
make.sh

index 78a73efacbbce7c881805c9c499a650c474911c8..5e1e3dd228950e259696bd6aa974232a7a99d925 100644 (file)
@@ -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 a2e54f233923fe383612eced435f3e0068c736e6..9f94feddb63f9dada017b1b706003188134dc5f6 100755 (executable)
--- 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"
                        ;;