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>
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
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))