735c6a0911fb824c62c9d15c8fe3c08578cc0528
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.30 / 202-mips-freestanding.patch
1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -610,6 +610,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