ramips: set -march=24kec for rt305x and rt3883 to enable use of DSP extension
[openwrt.git] / target / linux / ramips / rt305x / target.mk
index 2c78756..e355060 100644 (file)
@@ -4,6 +4,8 @@
 
 SUBTARGET:=rt305x
 BOARDNAME:=RT305x based boards
+ARCH_PACKAGES:=ramips_24kec
+CFLAGS+= -march=24kec
 
 define Target/Description
        Build firmware images for Ralink RT305x based boards.