summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2012-09-13 00:40:35 +0300
committerRoman Yeryomin <roman@advem.lv>2013-05-26 00:28:21 +0300
commit3dd631678a9d5f512d7055b5550455005908047c (patch)
tree2355929a4b8cf1888cd0797cfabdb42e0077c524 /target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff
parent36b130ad5bf5fd6b33721e6d3d137ce0bfb7d7d5 (diff)
Add realtek target files
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff')
-rw-r--r--target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff b/target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff
new file mode 100644
index 000000000..20641a7a5
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff
@@ -0,0 +1,12 @@
+Index: linux-2.6.30.9/arch/rlx/Makefile
+===================================================================
+--- linux-2.6.30.9.orig/arch/rlx/Makefile 2011-12-04 13:21:19.000000000 +0000
++++ linux-2.6.30.9/arch/rlx/Makefile 2011-12-04 13:21:25.000000000 +0000
+@@ -32,6 +32,7 @@
+ cflags-y := -ffunction-sections
+ cflags-y += $(call cc-option, -mno-check-zero-division)
+ cflags-y += -mabi=32
++cflags-y += -march=4181
+
+ #
+ # GCC uses -G 0 -mabicalls -fpic as default. We don't want PIC in the kernel