add generic patchset levelled up to 2.6.31-rc6
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.31 / 202-mips-freestanding.patch
1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -612,6 +612,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