xorg-server: add dependency on dri2proto when systemd is built
authorFabien Parent <fparent@baylibre.com>
Tue, 29 Nov 2016 14:36:58 +0000 (15:36 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 18 Dec 2016 13:25:39 +0000 (14:25 +0100)
commitcd4af31dd86c475482770f9ce9ccb583485c6449
treef599cda6f87224e7fdbaca0ced48824281f0f06f
parente9f66e194a43e9dac4a8c88bcb5b3253845cd805
xorg-server: add dependency on dri2proto when systemd is built

When systemd is selected, xorg-server must have config-udev-kms
enabled in order to build correctly, but it won't be the case if
BR2_PACKAGE_XPROTO_DRI2PROTO is not part of the build.

Add BR2_PACKAGE_XPROTO_DRI2PROTO as a dependency of xorg-xserver
only when systemd is part of the build.

Fixes bug #9486.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xserver_xorg-server/Config.in
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk