Skip to contentSkip to conversation

package/kodi: add configure option to disable libusb support

PATCH New Bernd Kuhls 2 participants 2 messages Mar 22, 2021 – Mar 28, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/kodi: add configure option to disable libusb support

Make sure libusb support is properly disabled even if the libusb package is enabled.

---
 package/kodi/kodi.mk | 2 ++
 1 file changed, 2 insertions(+)
package/kodi/kodi.mk +2 -0
index bf5822eb61..6edb0b7fca 100644
@@ -206,6 +206,8 @@ KODI_CONF_OPTS += -DENABLE_UDEV=OFF
 ifeq ($(BR2_PACKAGE_KODI_LIBUSB),y)
 KODI_CONF_OPTS += -DENABLE_LIBUSB=ON
 KODI_DEPENDENCIES += libusb-compat
+else
+KODI_CONF_OPTS += -DENABLE_LIBUSB=OFF
 endif
 endif
 
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/kodi: add configure option to disable libusb support

Bernd, All,

On 2021-03-22 20:10 +0100, Bernd Kuhls spake thusly:

Quoted 4 lines

Make sure libusb support is properly disabled even if the libusb package is enabled.

I've foudn the title to be confusing, so I've changed it to:
package/kodi: honour the libusb option even when disabled

I've also slightly expanded the commit log.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/kodi/kodi.mk | 2 ++
 1 file changed, 2 insertions(+)
package/kodi/kodi.mk +2 -0
index bf5822eb61..6edb0b7fca 100644
@@ -206,6 +206,8 @@ KODI_CONF_OPTS += -DENABLE_UDEV=OFF
 ifeq ($(BR2_PACKAGE_KODI_LIBUSB),y)
 KODI_CONF_OPTS += -DENABLE_LIBUSB=ON
 KODI_DEPENDENCIES += libusb-compat
+else
+KODI_CONF_OPTS += -DENABLE_LIBUSB=OFF
 endif
 endif
 
Signature · 6 lines
2.29.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'