From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.dream-property.net ([82.149.226.172]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SKWAJ-00035M-47 for openembedded-core@lists.openembedded.org; Wed, 18 Apr 2012 16:47:27 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.dream-property.net (Postfix) with ESMTP id F1200315B36E for ; Wed, 18 Apr 2012 16:38:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.dream-property.net Received: from mail.dream-property.net ([127.0.0.1]) by localhost (mail.dream-property.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vjkouCeb1ycN for ; Wed, 18 Apr 2012 16:37:51 +0200 (CEST) Received: from [10.200.6.10] (unknown [82.149.226.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.dream-property.net (Postfix) with ESMTPSA id C2D07315B384 for ; Wed, 18 Apr 2012 16:37:50 +0200 (CEST) Message-ID: <4F8ED1BE.8010109@opendreambox.org> Date: Wed, 18 Apr 2012 16:37:50 +0200 From: Andreas Oberritter User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: openembedded-core@lists.openembedded.org References: <4F847380.6000401@windriver.com> <4F8489DE.1050905@opendreambox.org> <4F8C24CB.3080607@opendreambox.org> <1334587325.616.4.camel@ted> <4F8C379A.3070903@opendreambox.org> <4F8C3B19.40400@windriver.com> <4F8EA5CC.6010101@opendreambox.org> <1334749226.24091.67.camel@ted> <4F8EA972.1090304@opendreambox.org> <20120418115428.GJ3635@jama.jama.net> <1334750426.24091.73.camel@ted> <4F8EAEAC.4080605@opendreambox.org> <1334753155.24091.84.camel@ted> In-Reply-To: <1334753155.24091.84.camel@ted> Subject: Re: MIPS vs MIPS32 tunings -- summary and questions 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: Wed, 18 Apr 2012 14:47:27 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 18.04.2012 14:45, Richard Purdie wrote: > On Wed, 2012-04-18 at 14:08 +0200, Andreas Oberritter wrote: >> On 18.04.2012 14:00, Richard Purdie wrote: >>> On Wed, 2012-04-18 at 13:54 +0200, Martin Jansa wrote: >>>> I had a lot of those (e.g. because armv7a-vfp-neon was including 20 >>>> arm*feed.conf variants in /etc/opkg most of them empty - without >>>> Packages.gz). >>>> >>>> So I've added "filter" to distro-feed-configs >>>> http://git.shr-project.org/git/?p=meta-smartphone.git;a=commit;h=236aa553bb0f82f741c6edb793e96f421f24f4fa >>>> to add only feeds I'm generating (and I also don't want armv5* packages >>>> installed on armv7a-vfp-neon target unless user explicitly adds armv5* >>>> feed). >>> >>> This is the better solution. I think we need to get a better default >>> feed-config generation mechanism into the core. Distros may still need >>> to tweak it but it would be good to share some of the best practises... >> >> Did you look at the patch? Which default setting of >> SUPPORTED_EXTRA_ARCHS do you suggest? > > I did. I didn't say the above patch was a perfect solution. > >> Do you think it's feasible to add >> every single downloadable arch to this variable? If a user of my distro >> decides to build it for some arm or x86 cpu, should he need to know >> which archs to add at this place? > > This is a place where the build system meets and interfaces with the > distro. No one policy in the build system is going to fit every distro's > needs, not should we ever aim to so. At least we should have defaults that actually work for someone. Now we don't and considering that distro-feed-configs.bb is the only place where PACKAGE_EXTRA_ARCHS is actually used, this would be very easy to accomplish. Especially because it worked well by default before Mark broke it. I guess it's indeed better to just override the necessary bits in my distro instead of trying to get working defaults upstream. Regards, Andreas