On 21 December 2012 10:10, Damian, Alexandru <alexandru.dam...@intel.com> wrote: > Mesa-dri provides these packages, why shouldn't we let the system know ?
Because build-time dependencies are expressed as source packages, not binary packages. If you add them to mesa-dri then you'll have to follow it up with a patch for every recipe that builds more than just ${PN}. > Is there any way to prevent weston being built based on mesa-dri version ? I don't see any reason to bother with that at the moment - we'll soon have mesa 9.0.2 in oe-core so there won't be any problem. >> I also don't see anything that adds a build-dependency on wayland for >> the Wayland EGL backend to build successfully. > > It fails gracefully if wayland isn't selected. mesa-dri needs wayland headers for the wayland backend to build, but there isn't anything pulling in wayland if you enable the distro feature. All you need is: +PACKAGECONFIG ??= "... + ${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ + " + +PACKAGECONFIG[wayland] = ",,wayland" Ross _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core