[kernel] revert 15922 - add back 2.6.29 kernel support
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.29 / 202-mips-freestanding.patch
1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -602,6 +602,9 @@ else
4  load-$(CONFIG_CPU_CAVIUM_OCTEON)       += 0xffffffff81100000
5  endif
6  
7 +# temporary until string.h is fixed
8 +cflags-y += -ffreestanding
9 +
10  cflags-y                       += -I$(srctree)/arch/mips/include/asm/mach-generic
11  drivers-$(CONFIG_PCI)          += arch/mips/pci/
12