[OE-core] [PATCH v2 2/8] clutter.bbclass: helper class for clutter and friends

Burton, Ross ross.burton at intel.com
Tue May 21 09:52:46 UTC 2013


Hi Tomas,

On Monday, 20 May 2013, Tomas Frydrych wrote:

> +def get_minor_dir(v):
> +    import re
> +    m = re.match("^([0-9]+)\.([0-9]+)", v)
> +    return "%s.%s" % (m.group(1), m.group(2))
>
>
Just an observation not a critic, but I'd love to see these centralised,
we've got the same logic duplicated all over the place now.

+def get_fpu_setting(bb, d):
> +    if d.getVar('TARGET_FPU', True) in [ 'soft' ]:
> +        return "--without-fpu"
> +    return ""
>
> This option isn't used by Clutter or cogl anymore, so you can drop this
function.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130521/c4e9faac/attachment-0002.html>


More information about the Openembedded-core mailing list