8ac3a7e4dbbed9d124f10c385eec58cff6663528
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.26 / 202-mips-freestanding.patch
1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -597,6 +597,9 @@ core-$(CONFIG_TOSHIBA_RBTX4938) += arch/
4  cflags-$(CONFIG_TOSHIBA_RBTX4938) += -Iinclude/asm-mips/mach-tx49xx
5  load-$(CONFIG_TOSHIBA_RBTX4938) += 0xffffffff80100000
6  
7 +# temporary until string.h is fixed
8 +cflags-y += -ffreestanding
9 +
10  cflags-y                       += -Iinclude/asm-mips/mach-generic
11  drivers-$(CONFIG_PCI)          += arch/mips/pci/
12