From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QSR5t-0004Jk-Uv for openembedded-core@lists.openembedded.org; Fri, 03 Jun 2011 11:55:06 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p539prpk003367 for ; Fri, 3 Jun 2011 10:51:53 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02759-09 for ; Fri, 3 Jun 2011 10:51:50 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p539pnpF003359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 3 Jun 2011 10:51:49 +0100 From: Richard Purdie To: Patches and discussions about the oe-core layer In-Reply-To: References: <1307089346.27470.624.camel@rex> Date: Fri, 03 Jun 2011 10:51:27 +0100 Message-ID: <1307094687.5715.2.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: [PATCH 1/1] eglibc: migrate configurability from oe 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: Fri, 03 Jun 2011 09:55:06 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2011-06-03 at 10:57 +0200, Koen Kooi wrote: > Op 3 jun 2011, om 10:22 heeft Richard Purdie het volgende geschreven: > > > On Fri, 2011-06-03 at 14:47 +0800, Kang Kai wrote: > >> From: Kang Kai > >> > >> Migrate configurability from oe, try to shrink minimal image size > >> > >> The switch is in local.conf.sample, uncomment the line > >> DISTRO_FEATURES_EGLIBC = "" > >> and write what options you want to enable. > >> > >> If want to disable locale-code charsets or locales, you have to uncomment > >> PACKAGE_NO_GCONV = 1 > >> Because without this, it fails on package_do_split_gconvs in libc-package.bbclass > > > > I have some comments: > > > > a) I think these should become flags in DISTRO_FEATURES with an > > "eglibc-" prefix so something like "spawn" would become "eglibc-spawn" > > Taking a step back here, uclibc has the same configurability, so > wouldn't it make sense to align both (where possible) and just have > 'libc-spawn' in DISTRO_FEATURES? If multiple libc's can support it, it would seem to make sense to have a common option. It would really mean a libc should complain loudly when it sees an option it can't support though (e.g. glibc)... Cheers, Richard