arm: when linking the kernel, move the section discards after the other sections...
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.28 / 202-mips-freestanding.patch
1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -593,6 +593,9 @@ core-$(CONFIG_TOSHIBA_RBTX4927) += arch/
4 core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/
5 core-$(CONFIG_TOSHIBA_RBTX4939) += arch/mips/txx9/rbtx4939/
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