summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-17 14:38:49 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-20 13:59:04 -0600
commiteb1b38bf8963361cdbcecb9423f577f5e57cbce5 (patch)
treeca3ee416c370024d6800963c1c4918e376ed103b /target
parent586f1779b04252c20b0d9c2bfdc7136473e73d2e (diff)
add another old kernel, still no go on voyager
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.kernelversion.choice8
-rw-r--r--target/config/Config.in.kernelversion.default4
-rw-r--r--target/linux/patches/3.2.66/sparc-aout.patch24
3 files changed, 36 insertions, 0 deletions
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)