ramips: enable dsp extensions for rt305x and rt3883
authorJohn Crispin <john@openwrt.org>
Mon, 6 May 2013 16:45:59 +0000 (16:45 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 6 May 2013 16:45:59 +0000 (16:45 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36567

target/linux/ramips/rt305x/target.mk
target/linux/ramips/rt3883/target.mk

index e355060228e13c3f808e7c0b366846ccf61388a3..b4516caa869a7ae065cdba5f0b9cccd7897dde60 100644 (file)
@@ -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.
index 85bfc5aa4e378913296a2aec30dd9c7dc1398d9b..d66bf4cff63bb39dc9d411f0b972fd1b0601f4a4 100644 (file)
@@ -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.