From patchwork Wed May 10 10:55:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 760534 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wNCpC2fW2z9s78 for ; Wed, 10 May 2017 20:56:02 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 152FA88754; Wed, 10 May 2017 10:56:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jUb-ZYD9FV22; Wed, 10 May 2017 10:55:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 74B4788755; Wed, 10 May 2017 10:55:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 937611C25A5 for ; Wed, 10 May 2017 10:55:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 83B3B89099 for ; Wed, 10 May 2017 10:55:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3TSrpzylcm4F for ; Wed, 10 May 2017 10:55:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by whitealder.osuosl.org (Postfix) with ESMTP id AEA0181D0D for ; Wed, 10 May 2017 10:55:57 +0000 (UTC) Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Forcepoint Email with ESMTP id 0971AFC598930 for ; Wed, 10 May 2017 11:55:52 +0100 (IST) Received: from vriera-linux.le.imgtec.org (192.168.154.96) by HHMAIL01.hh.imgtec.org (10.100.10.21) with Microsoft SMTP Server (TLS) id 14.3.294.0; Wed, 10 May 2017 11:55:55 +0100 From: Vicente Olivert Riera To: Date: Wed, 10 May 2017 11:55:46 +0100 Message-ID: <20170510105546.51108-1-Vincent.Riera@imgtec.com> X-Mailer: git-send-email 2.10.2 MIME-Version: 1.0 X-Originating-IP: [192.168.154.96] Subject: [Buildroot] [PATCH master] mpir: fix build on MIPS R6 CPUs X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Commit ef9eebf65f554d9aacfd420600c8ba17787151a8 tried to fix this problem in a wrong way. It was fixed only for generic R6 CPUs, so the problem still persist if you choose any other R6 CPU, like I6400 for instance. Fix it properly by using the right kconfig options. Fixes: http://autobuild.buildroot.net/results/f33/f33cb1e0b49fe8aee68fb4b66ea4c304b71a6f8f/ Signed-off-by: Vicente Olivert Riera Acked-by: Thomas Petazzoni --- package/mpir/mpir.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mpir/mpir.mk b/package/mpir/mpir.mk index 697e838..91f704d 100644 --- a/package/mpir/mpir.mk +++ b/package/mpir/mpir.mk @@ -27,7 +27,7 @@ MPIR_CONF_ENV += MPN_PATH="generic" endif # Optimized mips32/mips64 code not suitable for mips32r6/mips64r6 -ifeq ($(BR2_mips_32r6)$(BR2_mips_64r6),y) +ifeq ($(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) MPIR_CONF_ENV += MPN_PATH="generic" endif