summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/generic-2.6
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2006-08-25 21:53:54 +0000
committerImre Kaloz <kaloz@openwrt.org>2006-08-25 21:53:54 +0000
commitaae33f76f8df6173de6863ec76696307b30795d0 (patch)
treef142496e7734516fa267cc8eaa4586c80e8cbc3d /openwrt/target/linux/generic-2.6
parent5d0a90e08fac0f4c8d7aa1e5ff863342f75f240a (diff)
downloadmtk-20170518-aae33f76f8df6173de6863ec76696307b30795d0.zip
mtk-20170518-aae33f76f8df6173de6863ec76696307b30795d0.tar.gz
mtk-20170518-aae33f76f8df6173de6863ec76696307b30795d0.tar.bz2
add basic support for the Magicbox boards
SVN-Revision: 4672
Diffstat (limited to 'openwrt/target/linux/generic-2.6')
-rw-r--r--openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch b/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch
index 0d48052..99489b9 100644
--- a/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch
+++ b/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch
@@ -1,3 +1,15 @@
+diff -ruN linux-2.6.15.1/include/asm-ppc/libgcc.h linux-2.6.15.1-openwrt/include/asm-ppc/libgcc.h
+--- linux-2.6.15.1/include/asm-ppc/libgcc.h 1970-01-01 01:00:00.000000000 +0100
++++ linux-2.6.15.1-openwrt/include/asm-ppc/libgcc.h 2006-02-01 15:47:53.000000000 +0100
+@@ -0,0 +1,8 @@
++#ifndef __ASM_LIBGCC_H
++#define __ASM_LIBGCC_H
++
++#undef ARCH_NEEDS_ashldi3
++#undef ARCH_NEEDS_ashrdi3
++#undef ARCH_NEEDS_lshrdi3
++
++#endif /* __ASM_LIBGCC_H */
diff -ruN linux-2.6.15.1/include/asm-i386/libgcc.h linux-2.6.15.1-openwrt/include/asm-i386/libgcc.h
--- linux-2.6.15.1/include/asm-i386/libgcc.h 1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.15.1-openwrt/include/asm-i386/libgcc.h 2006-02-01 15:47:53.000000000 +0100