summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.4.112/sparc-aout.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-05-17 18:37:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-18 04:51:20 +0200
commitf5c67bc4f3f14de3a4261f21565cb4658a9ef3bd (patch)
tree1f18bf997eaa72769f73fb4eb812f88477527cd1 /target/linux/patches/3.4.112/sparc-aout.patch
parent6d77c8668e4e557924f8883fa5d6ab6e5af58f2e (diff)
nds32: add back support for old toolchain and Linux, working on ag101p with latest uClibc-ng
fix
Diffstat (limited to 'target/linux/patches/3.4.112/sparc-aout.patch')
-rw-r--r--target/linux/patches/3.4.112/sparc-aout.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/patches/3.4.112/sparc-aout.patch b/target/linux/patches/3.4.112/sparc-aout.patch
new file mode 100644
index 000000000..5cd74c2e7
--- /dev/null
+++ b/target/linux/patches/3.4.112/sparc-aout.patch
@@ -0,0 +1,24 @@
+diff -Nur linux-3.4.103.orig/arch/sparc/boot/Makefile linux-3.4.103/arch/sparc/boot/Makefile
+--- linux-3.4.103.orig/arch/sparc/boot/Makefile 2014-08-13 20:07:43.000000000 -0500
++++ linux-3.4.103/arch/sparc/boot/Makefile 2015-02-16 00:26:16.934618259 -0600
+@@ -74,9 +74,6 @@
+ $(call if_changed,gzip)
+ @echo ' kernel: $@ is ready'
+
+-$(obj)/vmlinux.aout: vmlinux FORCE
+- $(call if_changed,elftoaout)
+- @echo ' kernel: $@ is ready'
+ else
+
+ # The following lines make a readable image for U-Boot.
+@@ -107,6 +104,10 @@
+
+ endif
+
++$(obj)/vmlinux.aout: $(obj)/image FORCE
++ $(call if_changed,elftoaout)
++ @echo ' kernel: $@ is ready'
++
+ $(obj)/tftpboot.img: $(obj)/image $(obj)/piggyback System.map $(ROOT_IMG) FORCE
+ $(call if_changed,elftoaout)
+ $(call if_changed,piggy)