diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-17 14:38:49 -0600 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-20 13:59:04 -0600 |
commit | eb1b38bf8963361cdbcecb9423f577f5e57cbce5 (patch) | |
tree | ca3ee416c370024d6800963c1c4918e376ed103b | |
parent | 586f1779b04252c20b0d9c2bfdc7136473e73d2e (diff) |
add another old kernel, still no go on voyager
-rw-r--r-- | mk/kernel-ver.mk | 6 | ||||
-rw-r--r-- | target/config/Config.in.kernelversion.choice | 8 | ||||
-rw-r--r-- | target/config/Config.in.kernelversion.default | 4 | ||||
-rw-r--r-- | target/linux/patches/3.2.66/sparc-aout.patch | 24 |
4 files changed, 42 insertions, 0 deletions
diff --git a/mk/kernel-ver.mk b/mk/kernel-ver.mk index c2089e1b2..181147b99 100644 --- a/mk/kernel-ver.mk +++ b/mk/kernel-ver.mk @@ -34,3 +34,9 @@ KERNEL_MOD_VERSION:= $(KERNEL_VERSION) KERNEL_RELEASE:= 1 KERNEL_HASH:= 2f128cf4007acd1a5fc5c27badfc385bb231109aaf0fba7fd9bcf9766852afd1 endif +ifeq ($(ADK_KERNEL_VERSION_3_2_66),y) +KERNEL_VERSION:= 3.2.66 +KERNEL_MOD_VERSION:= $(KERNEL_VERSION) +KERNEL_RELEASE:= 1 +KERNEL_HASH:= 8554d6a7dcd18d35f7cd6a60c86292c699443c4d6344e81efdb33010b6cb8026 +endif 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) |