build: unify mips target cflags
[openwrt.git] / target / linux / ramips / rt3883 / target.mk
index 27c9020..8ccd67e 100644 (file)
@@ -6,7 +6,8 @@ SUBTARGET:=rt3883
 BOARDNAME:=RT3662/RT3883 based boards
 ARCH_PACKAGES:=ramips_24kec
 FEATURES+=usb pci
-CFLAGS+= -march=24kec -mdspr2
+CPU_TYPE:=24kec
+CPU_SUBTYPE:=dsp2
 
 define Target/Description
        Build firmware images for Ralink RT3662/RT3883 based boards.