[oe] [PATCH 1/3] base.bbclass: added oe_param_bool() method

Chris Larson clarson at kergoth.com
Thu May 27 14:29:04 UTC 2010


On Thu, May 27, 2010 at 5:41 AM, Enrico Scholz <
enrico.scholz at sigma-chemnitz.de> wrote:

> This new function works like dict's get() method but converts the
> returned value to a boolean.
>
> It is to be used to interpret e.g. 'apply=yes' parameters in SRC_URI.
>
> Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
>

This certainly looks useful, but utility functions like that were moved from
base.bbclass into utils.bbclass, and many of those in turn were moved into
the lib/oe/ python package :)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list