[meta-freescale] [meta-fsl-arm][PATCH 1/4] xf86-video-imxfb-vivante: Depend on virtual/xserver
Eric Bénard
eric at eukrea.com
Sun Jan 13 09:04:31 PST 2013
Hi Andrei,
Le Sun, 13 Jan 2013 18:28:39 +0200,
Andrei Gherzan <andrei.gherzan at windriver.com> a écrit :
> This driver needs dri.h header provided by xserver. Without this header
> compilation fails with:
> fatal error: dri.h: No such file
>
no that's not the real solution and this depends is already here
because :
xf86-video-imxfb-vivante_12.09.01.bb require xorg-driver-video.inc
which includes xorg-driver-common.inc which set
DEPENDS = "virtual/xserver xproto randrproto util-macros"
As I already said before dri is enabled _only_ if DISTRO_FEATURES
contains opengl :
xserver-xorg.inc has
PACKAGECONFIG ??= "udev ${@base_contains('DISTRO_FEATURES', 'opengl',
'glx', '', d)}" PACKAGECONFIG[udev] =
"--enable-config-udev,--disable-config-udev,udev" PACKAGECONFIG[glx] =
"--enable-dri --enable-dri2 --enable-glx --enable-glx-tls,\
--disable-dri --disable-glx,\ xf86driproto dri2proto mesa-dri"
So this patch is useless.
Eric
More information about the meta-freescale
mailing list