summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-08-05 22:39:01 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-08-05 22:39:01 +0200
commit57177df84b91ca2cfb1e205f83353a8b7d7e2024 (patch)
tree0c8d292addc7a80fe6fff014c3dc7fdd9ec2a6d3 /toolchain
parent75dfa74232ee8a8ee1c2ff51d27d3d48def3cee7 (diff)
update lemote to 2.6.35, enable version specific patches for kernel-header patches
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/kernel-headers/patches/2.6.34/cleankernel.patch (renamed from toolchain/kernel-headers/patches/cleankernel.patch)0
-rw-r--r--toolchain/kernel-headers/patches/2.6.34/etrax-header.patch (renamed from toolchain/kernel-headers/patches/etrax-header.patch)0
-rw-r--r--toolchain/kernel-headers/patches/2.6.34/linux-gcc-check.patch (renamed from toolchain/kernel-headers/patches/linux-gcc-check.patch)0
-rw-r--r--toolchain/kernel-headers/patches/2.6.34/microperl.patch (renamed from toolchain/kernel-headers/patches/microperl.patch)0
-rw-r--r--toolchain/kernel-headers/patches/2.6.34/scsi-header.patch (renamed from toolchain/kernel-headers/patches/scsi-header.patch)0
-rw-r--r--toolchain/kernel-headers/patches/2.6.35/cleankernel.patch11
-rw-r--r--toolchain/kernel-headers/patches/2.6.35/etrax-header.patch73
-rw-r--r--toolchain/kernel-headers/patches/2.6.35/linux-gcc-check.patch18
-rw-r--r--toolchain/kernel-headers/patches/2.6.35/microperl.patch24
9 files changed, 126 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/patches/cleankernel.patch b/toolchain/kernel-headers/patches/2.6.34/cleankernel.patch
index f8d5448ee..f8d5448ee 100644
--- a/toolchain/kernel-headers/patches/cleankernel.patch
+++ b/toolchain/kernel-headers/patches/2.6.34/cleankernel.patch
diff --git a/toolchain/kernel-headers/patches/etrax-header.patch b/toolchain/kernel-headers/patches/2.6.34/etrax-header.patch
index 3672cf60b..3672cf60b 100644
--- a/toolchain/kernel-headers/patches/etrax-header.patch
+++ b/toolchain/kernel-headers/patches/2.6.34/etrax-header.patch
diff --git a/toolchain/kernel-headers/patches/linux-gcc-check.patch b/toolchain/kernel-headers/patches/2.6.34/linux-gcc-check.patch
index 7cc381845..7cc381845 100644
--- a/toolchain/kernel-headers/patches/linux-gcc-check.patch
+++ b/toolchain/kernel-headers/patches/2.6.34/linux-gcc-check.patch
diff --git a/toolchain/kernel-headers/patches/microperl.patch b/toolchain/kernel-headers/patches/2.6.34/microperl.patch
index 2955b7421..2955b7421 100644
--- a/toolchain/kernel-headers/patches/microperl.patch
+++ b/toolchain/kernel-headers/patches/2.6.34/microperl.patch
diff --git a/toolchain/kernel-headers/patches/scsi-header.patch b/toolchain/kernel-headers/patches/2.6.34/scsi-header.patch
index 9173b242d..9173b242d 100644
--- a/toolchain/kernel-headers/patches/scsi-header.patch
+++ b/toolchain/kernel-headers/patches/2.6.34/scsi-header.patch
diff --git a/toolchain/kernel-headers/patches/2.6.35/cleankernel.patch b/toolchain/kernel-headers/patches/2.6.35/cleankernel.patch
new file mode 100644
index 000000000..f8d5448ee
--- /dev/null
+++ b/toolchain/kernel-headers/patches/2.6.35/cleankernel.patch
@@ -0,0 +1,11 @@
+diff -Nur linux-2.6.29.1.orig/scripts/Makefile.headersinst linux-2.6.29.1/scripts/Makefile.headersinst
+--- linux-2.6.29.1.orig/scripts/Makefile.headersinst 2009-04-02 22:55:27.000000000 +0200
++++ linux-2.6.29.1/scripts/Makefile.headersinst 2009-04-17 20:56:09.143476927 +0200
+@@ -65,7 +65,6 @@
+
+ targets += $(install-file)
+ $(install-file): scripts/headers_install.pl $(input-files) FORCE
+- $(if $(unwanted),$(call cmd,remove),)
+ $(if $(wildcard $(dir $@)),,$(shell mkdir -p $(dir $@)))
+ $(call if_changed,install)
+
diff --git a/toolchain/kernel-headers/patches/2.6.35/etrax-header.patch b/toolchain/kernel-headers/patches/2.6.35/etrax-header.patch
new file mode 100644
index 000000000..3672cf60b
--- /dev/null
+++ b/toolchain/kernel-headers/patches/2.6.35/etrax-header.patch
@@ -0,0 +1,73 @@
+diff -Nur linux-2.6.31.4.orig/arch/cris/include/arch-v10/arch/Kbuild linux-2.6.31.4/arch/cris/include/arch-v10/arch/Kbuild
+--- linux-2.6.31.4.orig/arch/cris/include/arch-v10/arch/Kbuild 2009-10-12 22:15:40.000000000 +0200
++++ linux-2.6.31.4/arch/cris/include/arch-v10/arch/Kbuild 2009-10-25 09:57:06.167232146 +0100
+@@ -1,4 +1,9 @@
++header-y += dma.h
++header-y += io_interface_mux.h
+ header-y += user.h
+ header-y += svinto.h
+ header-y += sv_addr_ag.h
+ header-y += sv_addr.agh
++header-y += elf.h
++header-y += page.h
++header-y += ptrace.h
+diff -Nur linux-2.6.31.4.orig/arch/cris/include/arch-v32/arch/Kbuild linux-2.6.31.4/arch/cris/include/arch-v32/arch/Kbuild
+--- linux-2.6.31.4.orig/arch/cris/include/arch-v32/arch/Kbuild 2009-10-12 22:15:40.000000000 +0200
++++ linux-2.6.31.4/arch/cris/include/arch-v32/arch/Kbuild 2009-10-25 09:57:06.167232146 +0100
+@@ -1,2 +1,6 @@
+ header-y += user.h
+ header-y += cryptocop.h
++header-y += elf.h
++header-y += page.h
++header-y += ptrace.h
++
+diff -Nur linux-2.6.31.4.orig/arch/cris/include/asm/Kbuild linux-2.6.31.4/arch/cris/include/asm/Kbuild
+--- linux-2.6.31.4.orig/arch/cris/include/asm/Kbuild 2009-10-12 22:15:40.000000000 +0200
++++ linux-2.6.31.4/arch/cris/include/asm/Kbuild 2009-10-25 09:57:06.167232146 +0100
+@@ -1,11 +1,14 @@
+ include include/asm-generic/Kbuild.asm
+
+-header-y += arch-v10/
+-header-y += arch-v32/
++header-y += ../arch-v10/arch/
++header-y += ../arch-v32/arch/
+
++header-y += elf.h
+ header-y += ethernet.h
+ header-y += rtc.h
+ header-y += sync_serial.h
++header-y += page.h
++header-y += user.h
+
+ unifdef-y += etraxgpio.h
+ unifdef-y += rs485.h
+diff -Nur linux-2.6.31.4.orig/include/asm-generic/Kbuild linux-2.6.31.4/include/asm-generic/Kbuild
+--- linux-2.6.31.4.orig/include/asm-generic/Kbuild 2009-10-12 22:15:40.000000000 +0200
++++ linux-2.6.31.4/include/asm-generic/Kbuild 2009-10-25 10:00:20.743354404 +0100
+@@ -3,12 +3,15 @@
+ header-y += errno-base.h
+ header-y += errno.h
+ header-y += fcntl.h
++header-y += getorder.h
+ header-y += ioctl.h
+ header-y += ioctls.h
+ header-y += ipcbuf.h
++header-y += memory_model.h
+ header-y += mman-common.h
+ header-y += mman.h
+ header-y += msgbuf.h
++header-y += page.h
+ header-y += param.h
+ header-y += poll.h
+ header-y += posix_types.h
+diff -Nur linux-2.6.31.4.orig/include/linux/Kbuild linux-2.6.31.4/include/linux/Kbuild
+--- linux-2.6.31.4.orig/include/linux/Kbuild 2009-10-12 22:15:40.000000000 +0200
++++ linux-2.6.31.4/include/linux/Kbuild 2009-10-25 09:57:06.207234174 +0100
+@@ -160,6 +160,7 @@
+ header-y += udf_fs_i.h
+ header-y += ultrasound.h
+ header-y += un.h
++header-y += user.h
+ header-y += utime.h
+ header-y += veth.h
+ header-y += videotext.h
diff --git a/toolchain/kernel-headers/patches/2.6.35/linux-gcc-check.patch b/toolchain/kernel-headers/patches/2.6.35/linux-gcc-check.patch
new file mode 100644
index 000000000..7cc381845
--- /dev/null
+++ b/toolchain/kernel-headers/patches/2.6.35/linux-gcc-check.patch
@@ -0,0 +1,18 @@
+diff -Nur linux-2.6.32.orig/arch/mips/include/asm/sgidefs.h linux-2.6.32/arch/mips/include/asm/sgidefs.h
+--- linux-2.6.32.orig/arch/mips/include/asm/sgidefs.h 2009-12-03 04:51:21.000000000 +0100
++++ linux-2.6.32/arch/mips/include/asm/sgidefs.h 2010-02-14 11:49:21.000000000 +0100
+@@ -11,14 +11,6 @@
+ #define __ASM_SGIDEFS_H
+
+ /*
+- * Using a Linux compiler for building Linux seems logic but not to
+- * everybody.
+- */
+-#ifndef __linux__
+-#error Use a Linux compiler or give up.
+-#endif
+-
+-/*
+ * Definitions for the ISA levels
+ *
+ * With the introduction of MIPS32 / MIPS64 instruction sets definitions
diff --git a/toolchain/kernel-headers/patches/2.6.35/microperl.patch b/toolchain/kernel-headers/patches/2.6.35/microperl.patch
new file mode 100644
index 000000000..2955b7421
--- /dev/null
+++ b/toolchain/kernel-headers/patches/2.6.35/microperl.patch
@@ -0,0 +1,24 @@
+diff -Nur linux-2.6.30.5.orig/scripts/headers_check.pl linux-2.6.30.5/scripts/headers_check.pl
+--- linux-2.6.30.5.orig/scripts/headers_check.pl 2009-08-16 23:19:38.000000000 +0200
++++ linux-2.6.30.5/scripts/headers_check.pl 2009-09-14 21:16:21.000000000 +0200
+@@ -18,7 +18,7 @@
+ #
+ # 3) Check for leaked CONFIG_ symbols
+
+-use strict;
++#use strict;
+
+ my ($dir, $arch, @files) = @ARGV;
+
+diff -Nur linux-2.6.30.5.orig/scripts/headers_install.pl linux-2.6.30.5/scripts/headers_install.pl
+--- linux-2.6.30.5.orig/scripts/headers_install.pl 2009-08-16 23:19:38.000000000 +0200
++++ linux-2.6.30.5/scripts/headers_install.pl 2009-09-14 21:16:11.000000000 +0200
+@@ -16,7 +16,7 @@
+ # 2) Drop include of compiler.h
+ # 3) Drop all sections defined out by __KERNEL__ (using unifdef)
+
+-use strict;
++#use strict;
+
+ my ($readdir, $installdir, $arch, @files) = @ARGV;
+