[yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

Andreas Müller schnitzeltony at googlemail.com
Thu Aug 6 00:41:48 PDT 2015


On Thu, Aug 6, 2015 at 8:59 AM, Javier Martinez Canillas
<javier at osg.samsung.com> wrote:
> Yes, I in fact was not sure if it should be a distro or machine feature
> and then decided on the former because there is more than the kernel to
> make it work like changing mesa configure options. But as mentioned to
> Andrea Müller, probably we should ship a mesa .bbappend for this in the
> BSP so I agree that a MACHINE_FEATURE will make more sense.
Suggestions:

* Mesa: A simple append with

PACKAGECONFIG_append_rpi += " gallium"
GALLIUMDRIVERS_rpi = "vc4"

would do. If you check mesa.inc in oe-core others (intel) do similar
(we might have to wait for a more recent mesa expected in September).

* kernel: have different name e.g linux-raspberrypi-vc4

The selection is done in this layer by changing default providers. In
a first step this could be done manually - aided by a helpful comment.

Andreas



More information about the yocto mailing list