aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-05-06 16:45:59 +0000
committerJohn Crispin <blogic@openwrt.org>2013-05-06 16:45:59 +0000
commit3bc8d0be4af82cdefe22f86d20c7f92b605bcd7c (patch)
tree6778dff3745b7f00fe4522d0e77432a73d57e738
parentd8eb7a4cafa663023693b2204165c601bbee43df (diff)
downloadmaster-187ad058-3bc8d0be4af82cdefe22f86d20c7f92b605bcd7c.tar.gz
master-187ad058-3bc8d0be4af82cdefe22f86d20c7f92b605bcd7c.tar.bz2
master-187ad058-3bc8d0be4af82cdefe22f86d20c7f92b605bcd7c.zip
ramips: enable dsp extensions for rt305x and rt3883
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36567 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ramips/rt305x/target.mk2
-rw-r--r--target/linux/ramips/rt3883/target.mk3
2 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/ramips/rt305x/target.mk b/target/linux/ramips/rt305x/target.mk
index e355060228..b4516caa86 100644
--- a/target/linux/ramips/rt305x/target.mk
+++ b/target/linux/ramips/rt305x/target.mk
@@ -5,7 +5,7 @@
SUBTARGET:=rt305x
BOARDNAME:=RT305x based boards
ARCH_PACKAGES:=ramips_24kec
-CFLAGS+= -march=24kec
+CFLAGS+= -march=24kec -mdsp
define Target/Description
Build firmware images for Ralink RT305x based boards.
diff --git a/target/linux/ramips/rt3883/target.mk b/target/linux/ramips/rt3883/target.mk
index 85bfc5aa4e..d66bf4cff6 100644
--- a/target/linux/ramips/rt3883/target.mk
+++ b/target/linux/ramips/rt3883/target.mk
@@ -5,7 +5,8 @@
SUBTARGET:=rt3883
BOARDNAME:=RT3662/RT3883 based boards
ARCH_PACKAGES:=ramips_24kec
-CFLAGS+= -march=24kec
+ARCH_SUFFIX:=dspr2
+CFLAGS+= -march=24kec -mdspr2
define Target/Description
Build firmware images for Ralink RT3662/RT3883 based boards.