Fix kernel headers for cris (thanks hinkocevar)
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.28 / 985-cris-headers.patch
1 diff -urN linux-2.6.28.clean/arch/cris/include/arch-v10/arch/Kbuild linux-2.6.28.mod/arch/cris/include/arch-v10/arch/Kbuild
2 --- linux-2.6.28.clean/arch/cris/include/arch-v10/arch/Kbuild   2008-12-25 00:26:37.000000000 +0100
3 +++ linux-2.6.28.mod/arch/cris/include/arch-v10/arch/Kbuild     2009-04-07 09:39:12.000000000 +0200
4 @@ -1,3 +1,5 @@
5 +header-y += elf.h
6 +header-y += ptrace.h
7  header-y += user.h
8  header-y += svinto.h
9  header-y += sv_addr_ag.h
10 diff -urN linux-2.6.28.clean/arch/cris/include/asm/Kbuild linux-2.6.28.mod/arch/cris/include/asm/Kbuild
11 --- linux-2.6.28.clean/arch/cris/include/asm/Kbuild     2008-12-25 00:26:37.000000000 +0100
12 +++ linux-2.6.28.mod/arch/cris/include/asm/Kbuild       2009-04-07 10:53:34.000000000 +0200
13 @@ -1,11 +1,14 @@
14  include include/asm-generic/Kbuild.asm
15  
16 -header-y += arch-v10/
17 -header-y += arch-v32/
18 +header-y += ../arch-v10/arch/
19 +header-y += ../arch-v32/arch/
20  
21 +header-y += elf.h
22  header-y += ethernet.h
23 +header-y += page.h
24  header-y += rtc.h
25  header-y += sync_serial.h
26 +header-y += user.h
27  
28  unifdef-y += etraxgpio.h
29  unifdef-y += rs485.h