build: unify arm target cflags
[openwrt/openwrt.git] / target / linux / cns21xx / Makefile
index 3ecc4762755d1b017195ef2b561f1611594509e4..30066abdb139eb840c32d2aaa53698d643987fca 100644 (file)
@@ -10,7 +10,7 @@ ARCH:=arm
 BOARD:=cns21xx
 BOARDNAME:=Cavium Networks Econa CNS21xx
 FEATURES:=squashfs
-CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526
+CPU_TYPE:=fa526
 
 LINUX_VERSION:=3.10.12