On 04/23/2014 09:24 PM, Diego wrote:
Hi,

I'd like to update the glmark2 recipe:
http://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-benchmark/glmark2/glmark2_2012.12.bb
to latest upstream version.

The problem is the configure step is done with:
./waf configure --with-flavors=x11-gl,x11-glesv2
instead of the previous release's syntax:
./waf configure --enable-gl --enable-glesv2
Unfortunately:
./waf configure --with-flavors=x11-gl --with-flavors=x11-glesv2
is not an accepted syntax.

How can I express the PACKAGECONFIG[...] parameters, so that if both gl and
gles2 are present I obtain "--with-flavors=x11-gl,x11-glesv2" as the configure
parameter?

Thanks,
Diego


I don't think that's achievable with PACKAGECONFIG alone.
I would suggest you write a do_configure_prepend and adjust the configure options there. For example, if you get '--with-flavors=x11-gl --with-flavors=x11-glesv2', you adjust it to '-with-flavors=x11-gl,x11-glesv2'.

Best Regards,
Chen Qi
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to