From 1703a851d74a5e7c3dd7d3752c8a3e8c1839e853 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 19 Oct 2018 22:13:10 +0200 Subject: [PATCH] gvfs: add optional libusb support Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/gvfs/gvfs.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/gvfs/gvfs.mk b/package/gvfs/gvfs.mk index 19747b4cb0..b62923a500 100644 --- a/package/gvfs/gvfs.mk +++ b/package/gvfs/gvfs.mk @@ -99,6 +99,13 @@ else GVFS_CONF_OPTS += --disable-http endif +ifeq ($(BR2_PACKAGE_LIBUSB),y) +GVFS_DEPENDENCIES += libusb +GVFS_CONF_OPTS += --enable-libusb +else +GVFS_CONF_OPTS += --disable-libusb +endif + ifeq ($(BR2_PACKAGE_SAMBA4),y) GVFS_DEPENDENCIES += samba4 GVFS_CONF_OPTS += \ -- 2.30.2