Received: from gandharva.secretlabs.de ([78.46.147.237]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NMYuK-0002VR-Ig for openembedded-devel@lists.openembedded.org; Mon, 21 Dec 2009 04:26:07 +0100 Received: from tamarin.localnet (123-192-180-176.dynamic.kbronet.com.tw [123.192.180.176]) by gandharva.secretlabs.de (Postfix) with ESMTPSA id A8BA41B10C03 for ; Mon, 21 Dec 2009 03:20:17 +0000 (UTC) From: Holger Hans Peter Freyther To: openembedded-devel@lists.openembedded.org Date: Mon, 21 Dec 2009 04:24:04 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31; KDE/4.3.2; i686; ; ) References: <1261261596-19241-1-git-send-email-raj.khem@gmail.com> <200912201021.14646.holger+oe@freyther.de> <19c1b8a90912200952x2e1983c7x30937d93ebb9f15d@mail.gmail.com> In-Reply-To: <19c1b8a90912200952x2e1983c7x30937d93ebb9f15d@mail.gmail.com> MIME-Version: 1.0 Message-Id: <200912210424.04554.holger+oe@freyther.de> X-SA-Exim-Connect-IP: 78.46.147.237 X-SA-Exim-Mail-From: holger+oe@freyther.de X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: No (on linuxtogo.org); Unknown failure Subject: Re: [PATCH 3/3] minimal: Add 'mplt' to DISTRO_FEATURES. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 03:26:07 -0000 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Sunday 20 December 2009 18:52:59 Khem Raj wrote: > On Sun, Dec 20, 2009 at 1:21 AM, Holger Hans Peter Freyther > > wrote: > > On Sunday 20 December 2009 10:01:40 Khem Raj wrote: > >> I tried to use oe_filter_out but I did not succeed, I guess distro > >> conf files are too early for in place evaluation > >> and if I had to do lazy evaluation then it has to be done somewhere > >> later which I did not know what it could be > > > > did you try with := ? > > DISTRO_FEATURES := "${@oe_filter_out('mplt', > bb.data.getVar('DISTRO_FEATURES', d, 1), d))}" > > If I use := I get this > > NameError: name 'oe_filter_out' is not defined Ah right.... base.bbclass might or might not be parsed by then and oe_filter_out not being known at this state. So we really have no other way than copying the definition. Could you add a comment to the place where we copied the stuff from hinting that -uclibc.conf needs to be updated too? z.