f7749145e4799272c9ae98a5c6cff4cdd33e3b10
[librecmc/librecmc.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 @@ -609,6 +609,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