From eb1b38bf8963361cdbcecb9423f577f5e57cbce5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 17 Feb 2015 14:38:49 -0600 Subject: add another old kernel, still no go on voyager --- target/config/Config.in.kernelversion.choice | 8 ++++++++ target/config/Config.in.kernelversion.default | 4 ++++ target/linux/patches/3.2.66/sparc-aout.patch | 24 ++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 target/linux/patches/3.2.66/sparc-aout.patch (limited to 'target') diff --git a/target/config/Config.in.kernelversion.choice b/target/config/Config.in.kernelversion.choice index 9f859b065..08c5c1d2b 100644 --- a/target/config/Config.in.kernelversion.choice +++ b/target/config/Config.in.kernelversion.choice @@ -43,4 +43,12 @@ config ADK_KERNEL_VERSION_3_4_103 depends on !ADK_TARGET_ARCH_NIOS2 select ADK_KERNEL_VERSION_3_4 +config ADK_KERNEL_VERSION_3_2_66 + bool "3.2.66" + depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI + depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 + depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX + depends on !ADK_TARGET_ARCH_NIOS2 + select ADK_KERNEL_VERSION_3_2 + endchoice diff --git a/target/config/Config.in.kernelversion.default b/target/config/Config.in.kernelversion.default index 944c24113..2c66e75cd 100644 --- a/target/config/Config.in.kernelversion.default +++ b/target/config/Config.in.kernelversion.default @@ -19,6 +19,9 @@ config ADK_KERNEL_VERSION_3_10 config ADK_KERNEL_VERSION_3_4 bool +config ADK_KERNEL_VERSION_3_2 + bool + config ADK_KERNEL_VERSION string default "3.19" if ADK_KERNEL_VERSION_3_19_0 @@ -27,6 +30,7 @@ config ADK_KERNEL_VERSION default "3.12.37" if ADK_KERNEL_VERSION_3_12_37 default "3.10.53" if ADK_KERNEL_VERSION_3_10_53 default "3.4.103" if ADK_KERNEL_VERSION_3_4_103 + default "3.2.66" if ADK_KERNEL_VERSION_3_2_66 help Kernel Version. diff --git a/target/linux/patches/3.2.66/sparc-aout.patch b/target/linux/patches/3.2.66/sparc-aout.patch new file mode 100644 index 000000000..6ad252479 --- /dev/null +++ b/target/linux/patches/3.2.66/sparc-aout.patch @@ -0,0 +1,24 @@ +diff -Nur linux-3.2.66.orig/arch/sparc/boot/Makefile linux-3.2.66/arch/sparc/boot/Makefile +--- linux-3.2.66.orig/arch/sparc/boot/Makefile 2014-12-31 19:27:54.000000000 -0600 ++++ linux-3.2.66/arch/sparc/boot/Makefile 2015-02-17 13:21:38.269400789 -0600 +@@ -75,9 +75,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. +@@ -110,6 +107,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) -- cgit v1.2.3