a26d3f2e0e9f310b00ec645399fa34af7a734a98
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.27 / 202-mips-freestanding.patch
1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -584,6 +584,9 @@ core-$(CONFIG_TOSHIBA_RBTX4927)     += arch/
4  #
5  core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/
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