From ec67efc42516136adee22d15ef1fb64b32637806 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 11 Oct 2012 09:59:25 +0200 Subject: forgotten to add the patches for new kernel --- .../patches/3.6.1/etrax-header.patch | 94 ++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 toolchain/kernel-headers/patches/3.6.1/etrax-header.patch (limited to 'toolchain/kernel-headers/patches/3.6.1/etrax-header.patch') diff --git a/toolchain/kernel-headers/patches/3.6.1/etrax-header.patch b/toolchain/kernel-headers/patches/3.6.1/etrax-header.patch new file mode 100644 index 000000000..03d19a9ab --- /dev/null +++ b/toolchain/kernel-headers/patches/3.6.1/etrax-header.patch @@ -0,0 +1,94 @@ +diff -Nur linux-3.5.orig//arch/cris/include/arch-v10/arch/Kbuild linux-3.5/arch/cris/include/arch-v10/arch/Kbuild +--- linux-3.5.orig//arch/cris/include/arch-v10/arch/Kbuild 2012-07-21 22:58:29.000000000 +0200 ++++ linux-3.5/arch/cris/include/arch-v10/arch/Kbuild 2012-07-27 14:01:25.000000000 +0200 +@@ -1,4 +1,10 @@ ++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 ++header-y += system.h +diff -Nur linux-3.5.orig//arch/cris/include/arch-v32/arch/Kbuild linux-3.5/arch/cris/include/arch-v32/arch/Kbuild +--- linux-3.5.orig//arch/cris/include/arch-v32/arch/Kbuild 2012-07-21 22:58:29.000000000 +0200 ++++ linux-3.5/arch/cris/include/arch-v32/arch/Kbuild 2012-07-27 14:01:25.000000000 +0200 +@@ -1,2 +1,7 @@ + header-y += user.h + header-y += cryptocop.h ++header-y += elf.h ++header-y += page.h ++header-y += ptrace.h ++header-y += system.h ++ +diff -Nur linux-3.5.orig//arch/cris/include/asm/Kbuild linux-3.5/arch/cris/include/asm/Kbuild +--- linux-3.5.orig//arch/cris/include/asm/Kbuild 2012-07-21 22:58:29.000000000 +0200 ++++ linux-3.5/arch/cris/include/asm/Kbuild 2012-07-27 14:02:20.000000000 +0200 +@@ -1,9 +1,12 @@ + 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 += etraxgpio.h + header-y += rs485.h + header-y += sync_serial.h ++header-y += page.h ++header-y += user.h +diff -Nur linux-3.5.orig//arch/cris/include/asm/posix_types.h linux-3.5/arch/cris/include/asm/posix_types.h +--- linux-3.5.orig//arch/cris/include/asm/posix_types.h 2012-07-21 22:58:29.000000000 +0200 ++++ linux-3.5/arch/cris/include/asm/posix_types.h 2012-07-27 14:01:25.000000000 +0200 +@@ -6,6 +6,7 @@ + #ifndef __ARCH_CRIS_POSIX_TYPES_H + #define __ARCH_CRIS_POSIX_TYPES_H + ++ + /* + * This file is generally used by user-level software, so you need to + * be a little careful about namespace pollution etc. Also, we cannot +@@ -32,4 +33,6 @@ + + #include + ++#include ++ + #endif /* __ARCH_CRIS_POSIX_TYPES_H */ +diff -Nur linux-3.5.orig//include/asm-generic/Kbuild linux-3.5/include/asm-generic/Kbuild +--- linux-3.5.orig//include/asm-generic/Kbuild 2012-07-21 22:58:29.000000000 +0200 ++++ linux-3.5/include/asm-generic/Kbuild 2012-07-27 14:03:16.000000000 +0200 +@@ -3,15 +3,18 @@ + header-y += errno-base.h + header-y += errno.h + header-y += fcntl.h ++header-y += getorder.h + header-y += int-l64.h + header-y += int-ll64.h + header-y += ioctl.h + header-y += ioctls.h + header-y += ipcbuf.h + header-y += kvm_para.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-3.5.orig//include/linux/Kbuild linux-3.5/include/linux/Kbuild +--- linux-3.5.orig//include/linux/Kbuild 2012-07-21 22:58:29.000000000 +0200 ++++ linux-3.5/include/linux/Kbuild 2012-07-27 14:01:25.000000000 +0200 +@@ -382,6 +382,7 @@ + header-y += un.h + header-y += unistd.h + header-y += usbdevice_fs.h ++header-y += user.h + header-y += utime.h + header-y += utsname.h + header-y += uuid.h -- cgit v1.2.3