[Buildroot] [PATCH next 1/2] lirc-tools: remove useless libusb-compat dependnecy

Baruch Siach baruch at tkos.co.il
Mon Aug 28 05:34:15 UTC 2017


The only plugin that uses libusb/libusb-compat is the ftdi plugin. This
plugin needs libftdi1 that already depends on libusb in Buildroot. So in
practice libusb-compat is never actually used; we can safely remove it.
The libusb dependency is implicit in the libftdi1 optional dependency.

Cc: Rhys Williams <github at wilberforce.co.nz>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 package/lirc-tools/lirc-tools.mk | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/package/lirc-tools/lirc-tools.mk b/package/lirc-tools/lirc-tools.mk
index 9d46c1b1b042..e767d9d7f02c 100644
--- a/package/lirc-tools/lirc-tools.mk
+++ b/package/lirc-tools/lirc-tools.mk
@@ -23,10 +23,6 @@ ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
 LIRC_TOOLS_DEPENDENCIES += alsa-lib
 endif
 
-ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
-LIRC_TOOLS_DEPENDENCIES += libusb-compat
-endif
-
 ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
 LIRC_TOOLS_DEPENDENCIES += portaudio
 endif
-- 
2.14.1



More information about the buildroot mailing list