build: unify arm target cflags
[openwrt/openwrt.git] / target / linux / cns21xx / Makefile
index a08679589a097e7b42c0ab1774588bda2470b1c9..30066abdb139eb840c32d2aaa53698d643987fca 100644 (file)
@@ -10,9 +10,9 @@ ARCH:=arm
 BOARD:=cns21xx
 BOARDNAME:=Cavium Networks Econa CNS21xx
 FEATURES:=squashfs
-CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 -fno-caller-saves
+CPU_TYPE:=fa526
 
-LINUX_VERSION:=3.8.13
+LINUX_VERSION:=3.10.12
 
 include $(INCLUDE_DIR)/target.mk