aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2005-04-30 21:11:50 +0000
committerImre Kaloz <kaloz@openwrt.org>2005-04-30 21:11:50 +0000
commit0914480a1cb22c5027a6086e55646d5ae93b80d6 (patch)
tree73c6de6fdf329ae86a329aab451b63701ceadf47 /target
parentb84c7fd4a6d2551fda313f47e290b7fad245ceec (diff)
downloadmaster-187ad058-0914480a1cb22c5027a6086e55646d5ae93b80d6.tar.gz
master-187ad058-0914480a1cb22c5027a6086e55646d5ae93b80d6.tar.bz2
master-187ad058-0914480a1cb22c5027a6086e55646d5ae93b80d6.zip
optimize for size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@780 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/lzma-loader/patches/toolchain.patch12
1 files changed, 8 insertions, 4 deletions
diff --git a/target/lzma-loader/patches/toolchain.patch b/target/lzma-loader/patches/toolchain.patch
index 69617056b3..81f92b26e1 100644
--- a/target/lzma-loader/patches/toolchain.patch
+++ b/target/lzma-loader/patches/toolchain.patch
@@ -1,8 +1,12 @@
---- loader-0.03/Makefile 2005-03-28 22:15:24.569677129 +0400
-+++ loader/Makefile 2005-03-28 22:16:42.339989214 +0400
-@@ -24,7 +24,8 @@
+diff -Nur loader-0.04/Makefile loader-0.04-owrt/Makefile
+--- loader-0.04/Makefile 2005-03-08 11:32:32.000000000 +0100
++++ loader-0.04-owrt/Makefile 2005-04-30 13:44:39.000000000 +0200
+@@ -22,9 +22,10 @@
- CFLAGS = -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
+ OBJCOPY := $(CROSS_COMPILE)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S
+
+-CFLAGS = -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
++CFLAGS = -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os \
-fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic \
- -ffunction-sections -pipe -mcpu=r4600 -mips2 -Wa,--trap -m4710a0kern
+ -ffunction-sections -pipe -mlong-calls -fno-common \