add diag support for the Buffalo WZR-G300N
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches / 202-mips-freestanding.patch
1 diff -urN linux-2.6.19.old/arch/mips/Makefile linux-2.6.19.dev/arch/mips/Makefile
2 --- linux-2.6.19.old/arch/mips/Makefile 2006-11-29 22:57:37.000000000 +0100
3 +++ linux-2.6.19.dev/arch/mips/Makefile 2006-12-14 03:13:55.000000000 +0100
4 @@ -600,6 +600,9 @@
5 core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/tx4938/common/
6 load-$(CONFIG_TOSHIBA_RBTX4938) += 0xffffffff80100000
7
8 +# temporary until string.h is fixed
9 +cflags-y += -ffreestanding
10 +
11 cflags-y += -Iinclude/asm-mips/mach-generic
12 drivers-$(CONFIG_PCI) += arch/mips/pci/
13