From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F3BE513881B for ; Tue, 22 Sep 2015 22:48:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C964121C001; Tue, 22 Sep 2015 22:48:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D98121C001 for ; Tue, 22 Sep 2015 22:48:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1BB1B3409C7 for ; Tue, 22 Sep 2015 22:48:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77DF4185 for ; Tue, 22 Sep 2015 22:48:01 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1442962381.9645be27987df0f9cdb26e039bea9de49e9e5007.blueness@gentoo> Subject: [gentoo-commits] proj/catalyst:3.0 commit in: catalyst/arch/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/arch/powerpc.py X-VCS-Directories: catalyst/arch/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 9645be27987df0f9cdb26e039bea9de49e9e5007 X-VCS-Branch: 3.0 Date: Tue, 22 Sep 2015 22:48:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 58f3907e-e8ff-4773-a101-2828da7b85cd X-Archives-Hash: a93294249e945bd322b0520a13cecd7c commit: 9645be27987df0f9cdb26e039bea9de49e9e5007 Author: Leno Hou gmail com> AuthorDate: Tue Sep 22 22:34:26 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Tue Sep 22 22:53:01 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=9645be27 Currently catalyst does not support ppc64le arch, we add subarch power8 to support ppc64le and make stage files. Signed-off-by: Leno Hou gmail.com> Signed-off-by: Anthony G. Basile gentoo.org> catalyst/arch/powerpc.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/catalyst/arch/powerpc.py b/catalyst/arch/powerpc.py index f903b38..8e0f540 100644 --- a/catalyst/arch/powerpc.py +++ b/catalyst/arch/powerpc.py @@ -108,6 +108,14 @@ class arch_power6(arch_ppc64): self.settings["CFLAGS"]="-O2 -pipe -mcpu=power6 -mtune=power6" self.settings["HOSTUSE"]=["altivec","ibm"] +class arch_power8(arch_ppc64): + "builder class for power8 under ppc64le" + def __init__(self,myspec): + arch_ppc64.__init__(self,myspec) + self.settings["CFLAGS"]="-O2 -pipe -mcpu=power8 -mtune=power8 -mabi=elfv2" + self.settings["CHOST"]="powerpc64le-unknown-linux-gnu" + self.settings["HOSTUSE"]=["altivec","ibm"] + def register(): "Inform main catalyst program of the contents of this plugin." return ({ @@ -122,6 +130,7 @@ def register(): "power4" : arch_power4, "power5" : arch_power5, "power6" : arch_power6, + "power8" : arch_power8, "ppc" : arch_ppc, "ppc64" : arch_ppc64 - }, ("ppc","ppc64","powerpc","powerpc64")) + }, ("ppc","ppc64","ppc64le","powerpc","powerpc64","powerpc64le"))