summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-06-19 15:26:37 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-26 22:29:56 +0200
commit2b6e482d88705cd9f3b2eac18b2db85178d80536 (patch)
treeed1476004e7fc880a601d48fe7a3f2e9b849993f
parent6cc126f1bb71810ff634fb9740f144d15efd2dd7 (diff)
downloadbuildroot-2b6e482d88705cd9f3b2eac18b2db85178d80536.tar.gz
buildroot-2b6e482d88705cd9f3b2eac18b2db85178d80536.zip
package/lirc-tools: add optional support for libusb-compat
lirc-tools has optional support for libusb-compat, see configure.ac, line 199+. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/lirc-tools/lirc-tools.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/lirc-tools/lirc-tools.mk b/package/lirc-tools/lirc-tools.mk
index d7f23531ab..2fd66439d7 100644
--- a/package/lirc-tools/lirc-tools.mk
+++ b/package/lirc-tools/lirc-tools.mk
@@ -18,6 +18,10 @@ LIRC_TOOLS_AUTORECONF = YES
LIRC_TOOLS_CONF_ENV = XSLTPROC=yes
LIRC_TOOLS_CONF_OPTS = --without-x
+ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
+LIRC_TOOLS_DEPENDENCIES += libusb-compat
+endif
+
define LIRC_TOOLS_INSTALL_INIT_SYSV
$(INSTALL) -D -m 0755 package/lirc-tools/S25lircd \
$(TARGET_DIR)/etc/init.d/S25lircd
OpenPOWER on IntegriCloud