summaryrefslogtreecommitdiff
path: root/target/linux/rdc-2.6/patches/600-x86_lzma.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-26 21:18:21 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-26 21:18:21 +0000
commit8f31903a953958707e1d00222ce312c0edf69497 (patch)
tree067c696a8aaafad515a29a35b8d61fa48d02a014 /target/linux/rdc-2.6/patches/600-x86_lzma.patch
parentc43c4da559585d9a0e6d833aff5e4c99d01f1300 (diff)
downloadmtk-20170518-8f31903a953958707e1d00222ce312c0edf69497.zip
mtk-20170518-8f31903a953958707e1d00222ce312c0edf69497.tar.gz
mtk-20170518-8f31903a953958707e1d00222ce312c0edf69497.tar.bz2
Use the new x86 code, thanks sn9 !
SVN-Revision: 8185
Diffstat (limited to 'target/linux/rdc-2.6/patches/600-x86_lzma.patch')
-rw-r--r--target/linux/rdc-2.6/patches/600-x86_lzma.patch11
1 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/rdc-2.6/patches/600-x86_lzma.patch b/target/linux/rdc-2.6/patches/600-x86_lzma.patch
index b370827..51e4878 100644
--- a/target/linux/rdc-2.6/patches/600-x86_lzma.patch
+++ b/target/linux/rdc-2.6/patches/600-x86_lzma.patch
@@ -980,7 +980,7 @@ diff -Naur linux-old/arch/i386/boot/compressed/lzma_misc.c linux-lzma/arch/i386/
diff -Naur linux-old/arch/i386/boot/compressed/Makefile linux-lzma/arch/i386/boot/compressed/Makefile
--- linux-old/arch/i386/boot/compressed/Makefile 2005-06-04 21:53:40.000000000 -0400
+++ linux-lzma/arch/i386/boot/compressed/Makefile 2005-06-05 00:25:23.000000000 -0400
-@@ -4,15 +4,15 @@
+@@ -4,7 +4,7 @@
# create a compressed vmlinux image from the original vmlinux
#
@@ -989,17 +989,16 @@ diff -Naur linux-old/arch/i386/boot/compressed/Makefile linux-lzma/arch/i386/boo
vmlinux.bin.all vmlinux.relocs
EXTRA_AFLAGS := -traditional
- LDFLAGS_vmlinux := -T
--CFLAGS_misc.o += -fPIC
-+CFLAGS_lzma_misc.o += -fPIC
- hostprogs-y := relocs
+@@ -17,7 +17,7 @@
+ $(call cc-option,-fno-stack-protector)
+ LDFLAGS := -m elf_i386
-$(obj)/vmlinux: $(src)/vmlinux.lds $(obj)/head.o $(obj)/misc.o $(obj)/piggy.o FORCE
+$(obj)/vmlinux: $(src)/vmlinux.lds $(obj)/head.o $(obj)/lzma_misc.o $(obj)/piggy.o FORCE
$(call if_changed,ld)
@:
-@@ -32,14 +32,14 @@
+@@ -37,14 +37,14 @@
$(call if_changed,relocbin)
ifdef CONFIG_RELOCATABLE