summaryrefslogtreecommitdiff
path: root/packages/wrt/loader-0.04
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/wrt/loader-0.04
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/wrt/loader-0.04')
-rw-r--r--packages/wrt/loader-0.04/.mtn2git_empty0
-rw-r--r--packages/wrt/loader-0.04/toolchain.patch16
2 files changed, 16 insertions, 0 deletions
diff --git a/packages/wrt/loader-0.04/.mtn2git_empty b/packages/wrt/loader-0.04/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/wrt/loader-0.04/.mtn2git_empty
diff --git a/packages/wrt/loader-0.04/toolchain.patch b/packages/wrt/loader-0.04/toolchain.patch
index e69de29bb2..81f92b26e1 100644
--- a/packages/wrt/loader-0.04/toolchain.patch
+++ b/packages/wrt/loader-0.04/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)