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 17F4A138F4B for ; Sat, 22 Feb 2014 22:13:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 984B2E0C0C; Sat, 22 Feb 2014 22:13:42 +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 10C11E0C0C for ; Sat, 22 Feb 2014 22:13:42 +0000 (UTC) Received: from big_daddy.dol-sen.ca (S010600222de111ff.vc.shawcable.net [96.49.5.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 2087733F9BE; Sat, 22 Feb 2014 22:13:41 +0000 (UTC) Date: Sat, 22 Feb 2014 14:09:13 -0800 From: Brian Dolbec To: gentoo-catalyst@lists.gentoo.org Cc: vapier@gentoo.org Subject: Re: [gentoo-catalyst] [PATCH] add arm64 support Message-ID: <20140222140913.62d38efa.dolsen@gentoo.org> In-Reply-To: <1390365523-23578-1-git-send-email-vapier@gentoo.org> References: <1390365523-23578-1-git-send-email-vapier@gentoo.org> Organization: Gentoo Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 43c2cd74-b761-4390-ad30-efe5e4fc0f24 X-Archives-Hash: 325fa1d1aef2d0517901e7a40bb91261 On Tue, 21 Jan 2014 23:38:43 -0500 Mike Frysinger wrote: > --- > arch/arm64.py | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 arch/arm64.py > > diff --git a/arch/arm64.py b/arch/arm64.py > new file mode 100644 > index 0000000..f665e89 > --- /dev/null > +++ b/arch/arm64.py > @@ -0,0 +1,16 @@ > + > +import builder,os > +from catalyst_support import * > + > +class arch_arm64(builder.generic): > + "builder class for arm64" > + def __init__(self,myspec): > + builder.generic.__init__(self,myspec) > + self.settings["CHROOT"]="chroot" > + self.settings["CFLAGS"]="-O2 -pipe" > + self.settings["CFLAGS"]="-O2 -pipe" > + self.settings["CHOST"]="aarch64-unknown-linux-gnu" > + > +def register(): > + "Inform main catalyst program of the contents of this plugin." > + return ({ "arm64":arch_arm64 }, ("aarch64","arm64", )) I modified the patch to apply to the restructured paths in the pending branch. Since it should not affect the rewrite patches to be merged. I've applied it to the pending branch which should be merged to master soon. Please checkout the pending branch and test run it please to ensure it works the way you submitted (or better ;) ) The code can run from directly from the checkout. There is even a convenience file in the base directory called testpath. Edit a catalyst.conf. (and possibly a catalyst.rc) to use the checkout directory files. from a terminal: source ./testpath catalyst -c my-local-test.conf -f some-stage.spec You could also edit a copy of the catalyst-2.9999 ebuild to point to the pending branch and install it. P.S. Be aware that the pending branch can/does get force pushes in preparation for final merge into master. -- Brian Dolbec