aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-2.6.32
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-11 18:48:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-03-11 18:48:50 +0000
commit2e64f11f6812aac01529f07f332aedd78484a30c (patch)
tree62aeca0f71a6d63010ed2fd739f16197e84dc098 /target/linux/ramips/patches-2.6.32
parentc5dc935d0dd587d46df551af0ea911b9befa7417 (diff)
downloadupstream-2e64f11f6812aac01529f07f332aedd78484a30c.tar.gz
upstream-2e64f11f6812aac01529f07f332aedd78484a30c.tar.bz2
upstream-2e64f11f6812aac01529f07f332aedd78484a30c.zip
the mips -ffreestanding patch has been unnecessary for a long time now, remove it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20149 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/patches-2.6.32')
-rw-r--r--target/linux/ramips/patches-2.6.32/100-mips-ralink-core.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ramips/patches-2.6.32/100-mips-ralink-core.patch b/target/linux/ramips/patches-2.6.32/100-mips-ralink-core.patch
index 5bf5f34a04..10d329ca05 100644
--- a/target/linux/ramips/patches-2.6.32/100-mips-ralink-core.patch
+++ b/target/linux/ramips/patches-2.6.32/100-mips-ralink-core.patch
@@ -1,7 +1,7 @@
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
-@@ -624,6 +624,26 @@ else
- load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000
+@@ -156,6 +156,26 @@ ifeq (,$(findstring march=octeon, $(cfla
+ cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -Wa,-march=octeon
endif
+#
@@ -24,9 +24,9 @@
+cflags-$(CONFIG_RALINK_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt305x
+load-$(CONFIG_RALINK_RT305X) += 0xffffffff80000000
+
- # temporary until string.h is fixed
- cflags-y += -ffreestanding
-
+ cflags-$(CONFIG_CPU_R4000_WORKAROUNDS) += $(call cc-option,-mfix-r4000,)
+ cflags-$(CONFIG_CPU_R4400_WORKAROUNDS) += $(call cc-option,-mfix-r4400,)
+ cflags-$(CONFIG_CPU_DADDI_WORKAROUNDS) += $(call cc-option,-mno-daddi,)
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -43,6 +43,9 @@ config AR7