aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/etrax/patches/100-compile_fixes.patch
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2009-02-04 06:16:16 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2009-02-04 06:16:16 +0000
commit15980b0e2dc1ed7cf27ca01022859bcee47b9808 (patch)
tree804716a6000f8b77e3ae41e2cf760a93373c975d /target/linux/etrax/patches/100-compile_fixes.patch
parente94487570b7a198430ebd21fae4f5ef08c44264a (diff)
downloadupstream-15980b0e2dc1ed7cf27ca01022859bcee47b9808.tar.gz
upstream-15980b0e2dc1ed7cf27ca01022859bcee47b9808.tar.bz2
upstream-15980b0e2dc1ed7cf27ca01022859bcee47b9808.zip
[etrax] Update and add patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14403 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/etrax/patches/100-compile_fixes.patch')
-rw-r--r--target/linux/etrax/patches/100-compile_fixes.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/etrax/patches/100-compile_fixes.patch b/target/linux/etrax/patches/100-compile_fixes.patch
index ecb930712b..2a9fc6582c 100644
--- a/target/linux/etrax/patches/100-compile_fixes.patch
+++ b/target/linux/etrax/patches/100-compile_fixes.patch
@@ -45,19 +45,19 @@
quiet_cmd_image = BUILD $@
cmd_image = cat $(obj)/decompress.bin $(obj)/piggy.gz > $@
-@@ -22,10 +18,10 @@ $(obj)/decompress.bin: $(obj)/decompress
+@@ -21,12 +17,6 @@
+ $(obj)/decompress.bin: $(obj)/decompress.o FORCE
$(call if_changed,objcopy)
- $(obj)/head.o: $(obj)/head.S .config
+-$(obj)/head.o: $(obj)/head.S .config
- @$(CC) -D__ASSEMBLY__ -traditional -c $< -o $@
-+ @$(CC) -Iinclude -D__ASSEMBLY__ -traditional -Wa,--em=criself -c $< -o $@
-
- $(obj)/misc.o: $(obj)/misc.c .config
+-
+-$(obj)/misc.o: $(obj)/misc.c .config
- @$(CC) -D__KERNEL__ -c $< -o $@
-+ @$(CC) -Iinclude -D__KERNEL__ -Wa,--em=criself -c $< -o $@
-
+-
$(obj)/vmlinux: $(obj)/piggy.gz $(obj)/decompress.bin FORCE
$(call if_changed,image)
+
--- a/arch/cris/arch-v10/boot/compressed/decompress.ld
+++ b/arch/cris/arch-v10/boot/compressed/decompress.ld
@@ -1,4 +1,4 @@