Received: from katalix.com ([82.103.140.233] helo=mail.katalix.com) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QdmOp-0005f3-7a for openembedded-core@lists.openembedded.org; Mon, 04 Jul 2011 18:53:31 +0200 Received: from [192.168.1.100] (188-220-141-241.zone11.bethere.co.uk [188.220.141.241]) (using SSLv3 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: chris) by mail.katalix.com (Postfix) with ESMTPSA id 12402A6206D for ; Mon, 4 Jul 2011 17:49:38 +0100 (BST) From: Chris Elston To: Patches and discussions about the oe-core layer In-Reply-To: <4E11EDD1.1000308@slimlogic.co.uk> References: <1309780493.20200.17.camel@desktop.home> <4E11DFA1.70608@slimlogic.co.uk> <1309795942.20200.123.camel@desktop.home> <4E11EDD1.1000308@slimlogic.co.uk> Date: Mon, 04 Jul 2011 17:49:37 +0100 Message-Id: <1309798177.20200.128.camel@desktop.home> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Subject: Re: [PROPOSAL] Package feature switches, redux. X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: celston@katalix.com, 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: Mon, 04 Jul 2011 16:53:31 -0000 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2011-07-04 at 17:44 +0100, Graeme Gregory wrote: > On 07/04/2011 05:12 PM, Chris Elston wrote: > >> Hi, with my Angstrom cap on I like this syntax and I think it will be > >> really useful. > >> > >> A second level concern I have is about conflicting features, its not > >> something we will come across probably in DISTRO land as we are sensible > >> enough not to select them. But users could select them in local.conf. > >> > >> Graeme > > As a new developer, I've discovered that there are plenty of things that > > you can set in local.conf which break things :D > > > > Could you please give an example of conflicting features that could > > cause problems, I'm not experienced enough with OE to have encountered > > that problem yet. > > > > > Cant think of a solid one off the top of my head, but I mean the cases where > > --enable-feature means that --disable-another-feature is done. > > This is why I listed it as a secondary issue. > > Graeme I understand. We could capture that information with an optional extra field in the config info something like: PACKAGE_CONFIG[foo] = "--enable-foo, --disable-foo, libfoo, " And then detect the conflict. It's a trade off of time to handle that conflicts field, versus how many potential conflicts there are I guess. I think we could add it later if it turned out to be a common problem. Cheers, Chris.