From ecbb0d9d4e5a0c2dc33a63dd0a33929ace2a5061 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 20 Apr 2015 15:01:21 +0000
Subject: [PATCH] binutils/oprofile: disable mips16 to fix build errors
 (#19522)

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

SVN-Revision: 45525
---
 package/devel/binutils/Makefile | 1 +
 package/devel/oprofile/Makefile | 1 +
 2 files changed, 2 insertions(+)

diff --git a/package/devel/binutils/Makefile b/package/devel/binutils/Makefile
index c5a0717477..f8549ad643 100644
--- a/package/devel/binutils/Makefile
+++ b/package/devel/binutils/Makefile
@@ -24,6 +24,7 @@ PKG_INSTALL:=1
 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
 PKG_LICENSE:=GPL-3.0+
 PKG_BUILD_PARALLEL:=1
+PKG_USE_MIPS16:=0
 
 include $(INCLUDE_DIR)/package.mk
 
diff --git a/package/devel/oprofile/Makefile b/package/devel/oprofile/Makefile
index dd8aa344b4..49937c9db8 100644
--- a/package/devel/oprofile/Makefile
+++ b/package/devel/oprofile/Makefile
@@ -22,6 +22,7 @@ PKG_LICENSE:=GPL-2.0+
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
+PKG_USE_MIPS16:=0
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/kernel.mk
-- 
GitLab