From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.pbcl.net ([88.198.119.4] helo=hetzner.pbcl.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RTX3a-0005QO-9O for openembedded-core@lists.openembedded.org; Thu, 24 Nov 2011 12:01:30 +0100 Received: from elite.brightsigndigital.co.uk ([81.142.160.137] helo=[172.30.1.145]) by hetzner.pbcl.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1RTWxH-0001LN-CG; Thu, 24 Nov 2011 11:54:59 +0100 From: Phil Blundell To: McClintock Matthew-B29882 , Patches and discussions about the oe-core layer Date: Thu, 24 Nov 2011 10:54:58 +0000 In-Reply-To: References: <1322041226-10075-1-git-send-email-msm@freescale.com> X-Mailer: Evolution 3.0.2- Message-ID: <1322132099.26081.43.camel@phil-desktop> Mime-Version: 1.0 Subject: Re: [RFC] gcc-cross.inc: Add depedency on BUILD_ARCH X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 11:01:30 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2011-11-24 at 07:29 +0000, McClintock Matthew-B29882 wrote: > On Thu, Nov 24, 2011 at 1:21 AM, Khem Raj wrote: > > hmmm I guess cross recipes are special they should not have been built > > under target recipes. Adding build arch to package name would be ok > > too but may be if they were built under directory of their own which > > was something like -- then it would also solve > > the problem i think > > I agree - this is the discussion I'm trying to start. ;) It's certainly true that the way the cross recipes are done at the moment does suck. Really, they should be built as primarily native and the target arch ought to just be encoded into ${PN} somehow, rather than the current arrangement of pretending that they are target recipes. (All the runtime bits are, or should be, packaged separately by either libgcc or gcc-runtime so they will already get the right PACKAGE_ARCH.) There are some old (and probably rather bit-rotten) patches to do that in the pb/toolchain-desuck branch of oe-classic. I'm not sure whether any of that stuff will apply to modern oe-core but the general principle ought still to be valid. p.