From: Fabrice Fontaine Date: Thu, 7 May 2020 22:37:20 +0000 (+0200) Subject: package/domoticz: set WITH_LIBUSB X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a896be19de9e6e7845b24af497fead6f522ef67d;p=buildroot.git package/domoticz: set WITH_LIBUSB Use WITH_LIBUSB which is available since version 4.9700 and https://github.com/domoticz/domoticz/commit/f53817577a834ed0c3fc16458c374aea490be49e Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- diff --git a/package/domoticz/domoticz.mk b/package/domoticz/domoticz.mk index 5efe86a784..0ceaab87b4 100644 --- a/package/domoticz/domoticz.mk +++ b/package/domoticz/domoticz.mk @@ -38,6 +38,9 @@ DOMOTICZ_CONF_OPTS += \ ifeq ($(BR2_PACKAGE_LIBUSB),y) DOMOTICZ_DEPENDENCIES += libusb +DOMOTICZ_CONF_OPTS += -DWITH_LIBUSB=ON +else +DOMOTICZ_CONF_OPTS += -DWITH_LIBUSB=OFF endif ifeq ($(BR2_PACKAGE_OPENZWAVE),y)