summaryrefslogtreecommitdiff
path: root/target/linux/patches/6.1.41
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-07-27 10:11:53 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-07-27 10:11:53 +0200
commitec8a5db7d2c64dc690cc31174f658ef0764e50d3 (patch)
treec17ddbdf177528c8be642c525cb2d7cae546c585 /target/linux/patches/6.1.41
parent26c9f6abdaef6fba4e0fa752b23aa9ac7909e7b4 (diff)
linux: add needed patches for hppa/m68k
Diffstat (limited to 'target/linux/patches/6.1.41')
-rw-r--r--target/linux/patches/6.1.41/hppa-cross-compile.patch12
-rw-r--r--target/linux/patches/6.1.41/macsonic.patch11
2 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/patches/6.1.41/hppa-cross-compile.patch b/target/linux/patches/6.1.41/hppa-cross-compile.patch
new file mode 100644
index 000000000..5400e87a0
--- /dev/null
+++ b/target/linux/patches/6.1.41/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)-)))
diff --git a/target/linux/patches/6.1.41/macsonic.patch b/target/linux/patches/6.1.41/macsonic.patch
new file mode 100644
index 000000000..177397221
--- /dev/null
+++ b/target/linux/patches/6.1.41/macsonic.patch
@@ -0,0 +1,11 @@
+diff -Nur linux-6.1.41.orig/drivers/net/ethernet/natsemi/Kconfig linux-6.1.41/drivers/net/ethernet/natsemi/Kconfig
+--- linux-6.1.41.orig/drivers/net/ethernet/natsemi/Kconfig 2023-07-24 18:55:35.000000000 +0200
++++ linux-6.1.41/drivers/net/ethernet/natsemi/Kconfig 2023-07-26 17:06:27.179154363 +0200
+@@ -19,6 +19,7 @@
+ config MACSONIC
+ tristate "Macintosh SONIC based ethernet (onboard, NuBus, LC, CS)"
+ depends on MAC
++ select BITREVERSE
+ help
+ Support for NatSemi SONIC based Ethernet devices. This includes
+ the onboard Ethernet in many Quadras as well as some LC-PDS,