From 2b6e482d88705cd9f3b2eac18b2db85178d80536 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 19 Jun 2016 15:26:37 +0200 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- package/lirc-tools/lirc-tools.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2