diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-06-11 21:18:26 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-06-11 21:18:26 +0000 |
commit | a80d25042b8914774c614f8b2ff26e02bcbe0461 (patch) | |
tree | 8813ca5ad209754da7f4b71014c7a131ee200196 /openwrt/target/linux/image/brcm/lzma-loader/patches | |
parent | 4fba88b87b0e46c76bdc0757e60010affa09f9d0 (diff) |
cleanup in target/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1205 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/image/brcm/lzma-loader/patches')
-rw-r--r-- | openwrt/target/linux/image/brcm/lzma-loader/patches/toolchain.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/openwrt/target/linux/image/brcm/lzma-loader/patches/toolchain.patch b/openwrt/target/linux/image/brcm/lzma-loader/patches/toolchain.patch new file mode 100644 index 000000000..81f92b26e --- /dev/null +++ b/openwrt/target/linux/image/brcm/lzma-loader/patches/toolchain.patch @@ -0,0 +1,16 @@ +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 @@ + + 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 \ ++ -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap + CFLAGS += -DLOADADDR=$(TEXT_START) -D_LZMA_IN_CB + + ASFLAGS = $(CFLAGS) -D__ASSEMBLY__ -DBZ_TEXT_START=$(BZ_TEXT_START) |