From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-catalyst+bounces-3417-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4E9A11384B4 for <garchives@archives.gentoo.org>; Wed, 16 Dec 2015 16:41:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40C8F21C016; Wed, 16 Dec 2015 16:41:29 +0000 (UTC) Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com [209.85.220.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A025521C016 for <gentoo-catalyst@lists.gentoo.org>; Wed, 16 Dec 2015 16:41:28 +0000 (UTC) Received: by mail-qk0-f169.google.com with SMTP id k189so72645913qkc.0 for <gentoo-catalyst@lists.gentoo.org>; Wed, 16 Dec 2015 08:41:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=qeEPq3uQIUbTg4S1Qll4AUeMVbfWYRnybj23wEbEu2Q=; b=iE4k37XEJUSQt0yaUF64QN2Q7NkC3/z0Iou62Q3wntAJcZoIx6SPMhnup3fzuds8LO Sbwu9r8zi4duDz3AdfYcNsJPSWPMWU/lavgF6xfAUZIPRTJuwpdjZDL9aV23CzspyGMz GtNkuC1xTUdJMGxfIQ8z0wPe7CJpNCnRqy0eTkO0OMJzCYQZBlfpvgd32jfqaIBNxQrd xuR7SBgHIzhXrd6M8NYmhjf5nDtgyS1UHZAGwMFIlmwvMD9hleJncqX0DN/nNLyix3uU U80BUW5/xNUPgXCSdIAmqA0yFIKmCRL9fFcn285etpzD+M5Hifg+FnlRUm7+T5B3TQBS CF/w== X-Received: by 10.13.240.66 with SMTP id z63mr25506922ywe.171.1450284087728; Wed, 16 Dec 2015 08:41:27 -0800 (PST) Received: from p006vm30.pbm.ihost.com (used3.centers.ihost.com. [32.97.185.24]) by smtp.gmail.com with ESMTPSA id x8sm5425356ywd.44.2015.12.16.08.41.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Dec 2015 08:41:26 -0800 (PST) From: Kevin Zhao <kevin.zhaoshuai@gmail.com> To: gentoo-catalyst@lists.gentoo.org Cc: kevin.zhaoshuai@gmail.com Subject: [gentoo-catalyst][PATCH v1 1/3] Add an subarch ppc64le,as the little-endian of ppc64. Date: Wed, 16 Dec 2015 11:40:52 -0500 Message-Id: <1450284052-13005-1-git-send-email-kevin.zhaoshuai@gmail.com> X-Mailer: git-send-email 2.1.0 Precedence: bulk List-Post: <mailto:gentoo-catalyst@lists.gentoo.org> List-Help: <mailto:gentoo-catalyst+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-catalyst+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-catalyst+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-catalyst.gentoo.org> X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Archives-Salt: ceef263e-a408-4950-8a63-b81642839e40 X-Archives-Hash: 6ade3d1e9625a6e701f535ab80635dba Add a subarch ppc64le, tweak the power8 inheriting from arch_ppc64 to arch_ppc64le.So that the ppc64le can be a keywork,it will be used in create iso and intergrating bootloader. Signed-off-by: Kevin Zhao <kevin.zhaoshuai@gmail.com> --- catalyst/arch/powerpc.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/catalyst/arch/powerpc.py b/catalyst/arch/powerpc.py index 7f4194e..a52b0d4 100644 --- a/catalyst/arch/powerpc.py +++ b/catalyst/arch/powerpc.py @@ -28,6 +28,13 @@ class arch_ppc64(generic_ppc64): self.settings["CFLAGS"]="-O2 -pipe" self.settings["CHOST"]="powerpc64-unknown-linux-gnu" +class arch_ppc64le(generic_ppc64): + "builder class for generic ppc64le" + def __init__(self,myspec): + generic_ppc64.__init__(self,myspec) + self.settings["CFLAGS"]="-O2 -pipe" + self.settings["CHOST"]="powerpc64le-unknown-linux-gnu" + class arch_970(arch_ppc64): "builder class for 970 aka G5 under ppc64" def __init__(self,myspec): @@ -99,10 +106,10 @@ class arch_power6(arch_ppc64): self.settings["CFLAGS"]="-O2 -pipe -mcpu=power6 -mtune=power6" self.settings["HOSTUSE"]=["altivec","ibm"] -class arch_power8(arch_ppc64): +class arch_power8(arch_ppc64le): "builder class for power8 under ppc64le" def __init__(self,myspec): - arch_ppc64.__init__(self,myspec) + arch_ppc64le.__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"] @@ -123,5 +130,6 @@ def register(): "power6" : arch_power6, "power8" : arch_power8, "ppc" : arch_ppc, - "ppc64" : arch_ppc64 + "ppc64" : arch_ppc64, + "ppc64le" : arch_ppc64le }, ("ppc","ppc64","ppc64le","powerpc","powerpc64","powerpc64le")) -- 2.1.0