driver_xf86-input-evdev: mtdev is mandatory now
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 11 Dec 2015 20:31:24 +0000 (17:31 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 12 Dec 2015 12:52:22 +0000 (13:52 +0100)
mtdev is no longer optional, so select it and depend upon it, otherwise
it leads to build failure.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xdriver_xf86-input-evdev/Config.in
package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev.mk

index f44e79f8b5dbf2771334cee67af3aa6e6bdabb54..70e950dc74857b62c64b5f53076f908942e1a70b 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_XDRIVER_XF86_INPUT_EVDEV
        bool "xf86-input-evdev"
        depends on BR2_PACKAGE_HAS_UDEV # libudev is configure dependency
        select BR2_PACKAGE_LIBEVDEV
+       select BR2_PACKAGE_MTDEV
        select BR2_PACKAGE_XPROTO_INPUTPROTO
        select BR2_PACKAGE_XPROTO_RANDRPROTO
        select BR2_PACKAGE_XPROTO_XPROTO
index 1e90afa1fd1745f26bf56c0ff65f843a37254aac..6f692aba0974be12b2b68e296de13bd118ee812f 100644 (file)
@@ -12,11 +12,11 @@ XDRIVER_XF86_INPUT_EVDEV_LICENSE_FILES = COPYING
 XDRIVER_XF86_INPUT_EVDEV_DEPENDENCIES = \
        host-pkgconf \
        libevdev \
+       mtdev \
        xproto_inputproto \
        xserver_xorg-server \
        xproto_randrproto \
        xproto_xproto \
-       udev \
-       $(if $(BR2_PACKAGE_MTDEV),mtdev)
+       udev
 
 $(eval $(autotools-package))