diff options
author | Artur Artamonov <freeartman@wechall.net> | 2013-09-10 07:01:38 +0000 |
---|---|---|
committer | Artur Artamonov <freeartman@wechall.net> | 2013-09-10 07:01:38 +0000 |
commit | 797fa08da0b218683f11ee0977b276ccc2d50f48 (patch) | |
tree | 5a31fab8e66d544ad88f9f0d73e872cee42d7218 /target/linux/realtek | |
parent | da72dfc52a219bc688a5b952908b9095a7476946 (diff) |
Added support of both platforms in rlx/Makefile
Diffstat (limited to 'target/linux/realtek')
-rw-r--r-- | target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.patch b/target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.patch new file mode 100644 index 000000000..163e66f08 --- /dev/null +++ b/target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.patch @@ -0,0 +1,11 @@ +--- linux-2.6.30.9.orig/arch/rlx/Makefile 2013-09-05 11:51:23.000000000 +0000 ++++ linux-2.6.30.9.orig/arch/rlx/Makefile 2013-09-02 13:49:09.000000000 +0000 +@@ -32,6 +32,8 @@ vmlinux-32 = vmlinux + cflags-y := -ffunction-sections + cflags-y += $(call cc-option, -mno-check-zero-division) + cflags-y += -mabi=32 ++cflags-$(CONFIG_ARCH_CPU_RLX4181) += -march=rlx4181 ++cflags-$(CONFIG_ARCH_CPU_RLX5281) += -march=rlx5281 + + # + # GCC uses -G 0 -mabicalls -fpic as default. We don't want PIC in the kernel |