build: unify mips target cflags
[openwrt/svn-archive/archive.git] / target / linux / octeon / Makefile
index 12fcacb58554cf6d8329ce846e881b42945ac40c..a9fd5abfdea9fbd68b2b88cb1e93b365a548805e 100644 (file)
@@ -10,7 +10,8 @@ ARCH:=mips
 BOARD:=octeon
 BOARDNAME:=Cavium Networks Octeon
 FEATURES:=squashfs jffs2 pci usb
-CFLAGS:=-Os -pipe -march=octeon -fno-caller-saves
+CPU_TYPE:=octeon
+CPU_CFLAGS_octeon:=-march=octeon
 MAINTAINER:=John Crispin <blogic@openwrt.org>
 
 LINUX_VERSION:=3.10.12