diff --git a/target/linux/ramips/rt305x/target.mk b/target/linux/ramips/rt305x/target.mk index e355060228e..b4516caa869 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 85bfc5aa4e3..d66bf4cff63 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.