From 0be8dd36dcb81e1395a43563aa89f55ab18873dd Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Thu, 9 May 2013 23:32:46 +0000
Subject: [PATCH] ar71xx: set mips16 support, tune cflags for 34kc (works well
 on MIPS 24K as well, but helps a lot for 34K and 74K)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36600
---
 target/linux/ar71xx/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile
index 83b238e584..600b21d430 100644
--- a/target/linux/ar71xx/Makefile
+++ b/target/linux/ar71xx/Makefile
@@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk
 ARCH:=mips
 BOARD:=ar71xx
 BOARDNAME:=Atheros AR7xxx/AR9xxx
-FEATURES:=squashfs jffs2 targz
-CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -mno-branch-likely
+FEATURES:=squashfs jffs2 targz mips16
+CFLAGS:=-Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely
 SUBTARGETS:=generic nand
 
 LINUX_VERSION:=3.8.12
-- 
GitLab