1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -602,6 +602,9 @@ else
4 load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000
7 +# temporary until string.h is fixed
8 +cflags-y += -ffreestanding
10 cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic
11 drivers-$(CONFIG_PCI) += arch/mips/pci/