From 797fa08da0b218683f11ee0977b276ccc2d50f48 Mon Sep 17 00:00:00 2001 From: Artur Artamonov Date: Tue, 10 Sep 2013 07:01:38 +0000 Subject: Added support of both platforms in rlx/Makefile --- .../realtek/patches-2.6.30/002-use-openwrt-toolchain.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.patch 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 -- cgit v1.2.3