package/lirc-tools: add optional support for udev
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 19 Jun 2016 13:26:38 +0000 (15:26 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Jun 2016 20:30:13 +0000 (22:30 +0200)
lirc-tools has optional support for udev, see configure.ac, line 303+.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lirc-tools/lirc-tools.mk

index 2fd66439d7b57ee1b0335ec2979a2d13e087745e..0c9eaa39fa44275b0df1b4807b54b5af52e16c37 100644 (file)
@@ -18,6 +18,10 @@ LIRC_TOOLS_AUTORECONF = YES
 LIRC_TOOLS_CONF_ENV = XSLTPROC=yes
 LIRC_TOOLS_CONF_OPTS = --without-x
 
+ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
+LIRC_TOOLS_DEPENDENCIES += udev
+endif
+
 ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
 LIRC_TOOLS_DEPENDENCIES += libusb-compat
 endif