summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/linux-2.6.28-cris-headers.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-12 20:16:16 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-12 20:16:16 +0000
commitb2c5b9109efa14a02f0581092cb39fac20b58e67 (patch)
treede5ff1316b2697eec447bfe181f737084d868e87 /toolchain/kernel-headers/linux-2.6.28-cris-headers.patch
parentb268646b9f881bb499d5ec237eea89f3e7549482 (diff)
toolchain: fix cris build with 2.6.28 kernel headers
Patch by Hinko Kocevar <hinko.kocevar@cetrtapot.si>
Diffstat (limited to 'toolchain/kernel-headers/linux-2.6.28-cris-headers.patch')
-rw-r--r--toolchain/kernel-headers/linux-2.6.28-cris-headers.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/linux-2.6.28-cris-headers.patch b/toolchain/kernel-headers/linux-2.6.28-cris-headers.patch
new file mode 100644
index 000000000..ff2fa49c5
--- /dev/null
+++ b/toolchain/kernel-headers/linux-2.6.28-cris-headers.patch
@@ -0,0 +1,28 @@
+diff -urN linux-2.6.28/arch/cris/include/arch-v10/arch/Kbuild linux-2.6.28.my/arch/cris/include/arch-v10/arch/Kbuild
+--- linux-2.6.28/arch/cris/include/arch-v10/arch/Kbuild 2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28.my/arch/cris/include/arch-v10/arch/Kbuild 2009-01-12 12:59:06.000000000 +0100
+@@ -1,3 +1,5 @@
++header-y += elf.h
++header-y += ptrace.h
+ header-y += user.h
+ header-y += svinto.h
+ header-y += sv_addr_ag.h
+diff -urN linux-2.6.28/arch/cris/include/asm/Kbuild linux-2.6.28.my/arch/cris/include/asm/Kbuild
+--- linux-2.6.28/arch/cris/include/asm/Kbuild 2008-12-25 00:26:37.000000000 +0100
++++ linux-2.6.28.my/arch/cris/include/asm/Kbuild 2009-01-12 13:14:40.000000000 +0100
+@@ -1,11 +1,13 @@
+ 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 += user.h
+
+ unifdef-y += etraxgpio.h
+ unifdef-y += rs485.h