Openembedded Core Discussions
 help / color / mirror / Atom feed
* Including machine specific mesa-driver
@ 2015-09-24  5:38 Nicolas Dechesne
  2015-09-24  6:50 ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Dechesne @ 2015-09-24  5:38 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1029 bytes --]

hi,

in the qemu reference machine we see this pattern:

XSERVER = "xserver-xorg
\

           ${@bb.utils.contains('DISTRO_FEATURES', 'opengl',
'mesa-driver-swrast', '', d)}
\


Which is what I had done for my BSP layer as well. However this doesn't
take into account non X11 based graphics config, such as when building a
wayland/weston image. The mesa-driver should be conditionally pulled when
'mesa' is pulled in.

I cannot find a satisfying way of specifying this better to take both cases
into account.

we could move

${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast', '',
d)}

into MACHINE_RRDEPENS, but that's not quite right, since that driver is
only needed when any of the mesa binary packages is in the image, and non
graphics image wouldnt' need that.

Since mesa produces a lot of binary packages , using RDEPENDS_xxx for all
of them doesn't seem very nice neither..

What would you recommend we do? I think we need to fix the qemu images
anyways.

cheers

[-- Attachment #2: Type: text/html, Size: 1835 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-24 20:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24  5:38 Including machine specific mesa-driver Nicolas Dechesne
2015-09-24  6:50 ` Richard Purdie
2015-09-24 18:36   ` Nicolas Dechesne
2015-09-24 20:17     ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox