cleanup in target/
[openwrt/svn-archive/archive.git] / openwrt / target / linux / image / brcm / lzma-loader / patches / toolchain.patch
1 diff -Nur loader-0.04/Makefile loader-0.04-owrt/Makefile
2 --- loader-0.04/Makefile 2005-03-08 11:32:32.000000000 +0100
3 +++ loader-0.04-owrt/Makefile 2005-04-30 13:44:39.000000000 +0200
4 @@ -22,9 +22,10 @@
5
6 OBJCOPY := $(CROSS_COMPILE)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S
7
8 -CFLAGS = -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
9 +CFLAGS = -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os \
10 -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic \
11 - -ffunction-sections -pipe -mcpu=r4600 -mips2 -Wa,--trap -m4710a0kern
12 + -ffunction-sections -pipe -mlong-calls -fno-common \
13 + -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap
14 CFLAGS += -DLOADADDR=$(TEXT_START) -D_LZMA_IN_CB
15
16 ASFLAGS = $(CFLAGS) -D__ASSEMBLY__ -DBZ_TEXT_START=$(BZ_TEXT_START)