summaryrefslogtreecommitdiff
path: root/target/linux/octeon
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-09-26 17:53:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-09-26 17:53:14 +0000
commita30681dff0c896464ebb3de81fcc737c114a6194 (patch)
tree90b2865f5a9295f8f3f1a43df46e26c4ca920285 /target/linux/octeon
parent569da024f0f37b2477f8d1499fb4860a7b4a9cd5 (diff)
downloadmtk-20170518-a30681dff0c896464ebb3de81fcc737c114a6194.zip
mtk-20170518-a30681dff0c896464ebb3de81fcc737c114a6194.tar.gz
mtk-20170518-a30681dff0c896464ebb3de81fcc737c114a6194.tar.bz2
build: unify mips target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38210
Diffstat (limited to 'target/linux/octeon')
-rw-r--r--target/linux/octeon/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/octeon/Makefile b/target/linux/octeon/Makefile
index 12fcacb..a9fd5ab 100644
--- a/target/linux/octeon/Makefile
+++ b/target/linux/octeon/Makefile
@@ -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