1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-03 01:39:28 +02:00
openwrt/target/linux/generic-2.6/patches-2.6.25/202-mips-freestanding.patch
Gabor Juhos d7d8665572 update to 2.6.25.1 and refresh patches
SVN-Revision: 11006
2008-05-02 10:17:03 +00:00

15 lines
535 B
Diff

Index: linux-2.6.25.1/arch/mips/Makefile
===================================================================
--- linux-2.6.25.1.orig/arch/mips/Makefile
+++ linux-2.6.25.1/arch/mips/Makefile
@@ -593,6 +593,9 @@ core-$(CONFIG_TOSHIBA_RBTX4938) += arch/
cflags-$(CONFIG_TOSHIBA_RBTX4938) += -Iinclude/asm-mips/mach-tx49xx
load-$(CONFIG_TOSHIBA_RBTX4938) += 0xffffffff80100000
+# temporary until string.h is fixed
+cflags-y += -ffreestanding
+
cflags-y += -Iinclude/asm-mips/mach-generic
drivers-$(CONFIG_PCI) += arch/mips/pci/