summaryrefslogtreecommitdiff
path: root/target/linux/patches/6.1.107/hppa-cross-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/patches/6.1.107/hppa-cross-compile.patch')
-rw-r--r--target/linux/patches/6.1.107/hppa-cross-compile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/6.1.107/hppa-cross-compile.patch b/target/linux/patches/6.1.107/hppa-cross-compile.patch
new file mode 100644
index 000000000..5400e87a0
--- /dev/null
+++ b/target/linux/patches/6.1.107/hppa-cross-compile.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-6.1.41.orig/arch/parisc/Makefile linux-6.1.41/arch/parisc/Makefile
+--- linux-6.1.41.orig/arch/parisc/Makefile 2023-07-24 18:55:35.000000000 +0200
++++ linux-6.1.41/arch/parisc/Makefile 2023-07-25 17:32:20.338363915 +0200
+@@ -41,7 +41,7 @@
+
+ # Set default 32 bits cross compilers for vdso
+ CC_ARCHES_32 = hppa hppa2.0 hppa1.1
+-CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux
++CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux openadk-linux-uclibc
+ CROSS32_COMPILE := $(call cc-cross-prefix, \
+ $(foreach a,$(CC_ARCHES_32), \
+ $(foreach s,$(CC_SUFFIXES),$(a)-$(s)-)))