summaryrefslogtreecommitdiff
path: root/system/abuild/adelie-customisations.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/abuild/adelie-customisations.patch')
-rw-r--r--system/abuild/adelie-customisations.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/system/abuild/adelie-customisations.patch b/system/abuild/adelie-customisations.patch
new file mode 100644
index 000000000..db7280abc
--- /dev/null
+++ b/system/abuild/adelie-customisations.patch
@@ -0,0 +1,48 @@
+diff --git a/functions.sh.in b/functions.sh.in
+index 4f2c023..a4de25c 100644
+--- a/functions.sh.in
++++ b/functions.sh.in
+@@ -5,16 +5,20 @@ program=${0##*/}
+
+ arch_to_hostspec() {
+ case "$1" in
+- aarch64) echo "aarch64-alpine-linux-musl" ;;
+- armel) echo "armv5-alpine-linux-musleabi" ;;
+- armhf) echo "armv6-alpine-linux-muslgnueabihf" ;;
+- armv7) echo "armv7-alpine-linux-musleabihf" ;;
+- ppc) echo "powerpc-alpine-linux-musl" ;;
+- ppc64) echo "powerpc64-alpine-linux-musl" ;;
+- ppc64le) echo "powerpc64le-alpine-linux-musl" ;;
+- s390x) echo "s390x-alpine-linux-musl" ;;
+- x86) echo "i586-alpine-linux-musl" ;;
+- x86_64) echo "x86_64-alpine-linux-musl" ;;
++ aarch64) echo "aarch64-foxkit-linux-musl" ;;
++ armel) echo "armv5-foxkit-linux-musleabi" ;;
++ armhf) echo "armv6-foxkit-linux-muslgnueabihf" ;;
++ armv7) echo "armv7-foxkit-linux-musleabihf" ;;
++ i528) echo "pentium4-foxkit-linux-musl" ;;
++ mips) echo "mips-foxkit-linux-musl" ;;
++ mips32) echo "mips32el-foxkit-linux-musl" ;;
++ pmmx) echo "i586-foxkit-linux-musl" ;;
++ ppc) echo "powerpc-foxkit-linux-musl" ;;
++ ppc64) echo "powerpc64-foxkit-linux-musl" ;;
++ ppc64le) echo "powerpc64le-foxkit-linux-musl" ;;
++ s390x) echo "s390x-foxkit-linux-musl" ;;
++ x86) echo "i486-foxkit-linux-musl" ;;
++ x86_64) echo "x86_64-foxkit-linux-musl" ;;
+ *) echo "unknown" ;;
+ esac
+ }
+@@ -25,7 +29,11 @@ hostspec_to_arch() {
+ arm*-*-*-*eabi) echo "armel" ;;
+ armv6*-*-*-*eabihf) echo "armhf" ;;
+ armv7*-*-*-*eabihf) echo "armv7" ;;
+- i[0-9]86-*-*-*) echo "x86" ;;
++ i486-*-*-*) echo "x86" ;;
++ i586-*-*-*) echo "pmmx" ;;
++ mips32*-*-*-*) echo "mips32" ;;
++ mips*-*-*-*) echo "mips" ;;
++ pentium4-*-*-*) echo "i528" ;;
+ powerpc-*-*-*) echo "ppc" ;;
+ powerpc64-*-*-*) echo "ppc64" ;;
+ powerpc64le-*-*-*) echo "ppc64le" ;;