]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
make.sh: add aarch qemu user binfmt magic
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 5 Aug 2020 18:33:29 +0000 (20:33 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 5 Aug 2020 18:33:29 +0000 (20:33 +0200)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index a2e54f233923fe383612eced435f3e0068c736e6..df7e74c925108ec434a309620713babee175eb3d 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -804,7 +804,7 @@ qemu_is_required() {
        fi
 
        case "${HOST_ARCH},${build_arch}" in
-               x86_64,arm*|i?86,arm*|i?86,x86_64)
+               x86_64,arm*|x86_64,aarch64|i?86,arm*|i?86,aarch64|i?86,x86_64)
                        return 0
                        ;;
                *)
@@ -865,6 +865,9 @@ qemu_find_build_helper_name() {
                arm*)
                        magic="7f454c4601010100000000000000000002002800"
                        ;;
+               aarch64)
+                       magic="7f454c460201010000000000000000000200b700"
+                       ;;
                x86_64)
                        magic="7f454c4602010100000000000000000002003e00"
                        ;;