From: Bernd Kuhls Date: Sun, 19 Jun 2016 13:26:37 +0000 (+0200) Subject: package/lirc-tools: add optional support for libusb-compat X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b6e482d88705cd9f3b2eac18b2db85178d80536;p=buildroot.git 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 --- 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