summaryrefslogtreecommitdiffstats
path: root/openwrt/package/loader/patches/toolchain.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-02 16:43:51 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-02 16:43:51 +0000
commit24f1812847ea659ed0b74ca67aabc0183d67f62f (patch)
treee0adddad88adfd33bb619d7b4cd943b06cd7a918 /openwrt/package/loader/patches/toolchain.patch
parent49f94a1bb297e372a63ee6d4a22c95ab9748b0ad (diff)
add missing stuff for lzma bootloader
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@522 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/loader/patches/toolchain.patch')
-rw-r--r--openwrt/package/loader/patches/toolchain.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/loader/patches/toolchain.patch b/openwrt/package/loader/patches/toolchain.patch
new file mode 100644
index 000000000..69617056b
--- /dev/null
+++ b/openwrt/package/loader/patches/toolchain.patch
@@ -0,0 +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 @@
+
+ CFLAGS = -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
+ -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)