]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
make.sh: Add cross-building for aarch64
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Aug 2020 17:00:54 +0000 (17:00 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 5 Aug 2020 18:47:36 +0000 (18:47 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@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 df7e74c925108ec434a309620713babee175eb3d..544320f090e20d5799045f02417e28bca3d5acb3 100755 (executable)
--- 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"
                        ;;