Openwrt/target/linux/generic-2.6/patches-2.6.30/202-mips-freestanding.patch
Florian Fainelli 160bf827f2 refresh generic patches
SVN-Revision: 16420
2009-06-11 08:49:53 +00:00

13 lines
315 B
Diff

--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -603,6 +603,9 @@ else
load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000
endif
+# temporary until string.h is fixed
+cflags-y += -ffreestanding
+
cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic
drivers-$(CONFIG_PCI) += arch/mips/pci/