All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/ola: usbpro needs gcc >= 4.9
@ 2022-03-17 18:58 Fabrice Fontaine
  2022-03-27 15:35 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-03-17 18:58 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain, Fabrice Fontaine

Fix the following build failure with usbpro raised since re-introduction
of the package in commit 16ff948444c3978d63f483344a3d92d994c64312:

configure: error: compiler with C11 support is required to build libusb

Fixes:
 - http://autobuild.buildroot.org/results/e9239403bb13d3468db01a952da8c695c0e5ea30

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/ola/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/ola/Config.in b/package/ola/Config.in
index 36b175138f..e59637b57f 100644
--- a/package/ola/Config.in
+++ b/package/ola/Config.in
@@ -164,8 +164,12 @@ config BR2_PACKAGE_OLA_PLUGIN_USBDMX
 
 config BR2_PACKAGE_OLA_PLUGIN_USBPRO
 	bool "usbpro"
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
 	select BR2_PACKAGE_LIBUSB
 	help
 	  Build UsbPro plugin for OLA.
 
+comment "usbpro needs a toolchain w/ gcc >= 4.9"
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+
 endif
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/ola: usbpro needs gcc >= 4.9
  2022-03-17 18:58 [Buildroot] [PATCH 1/1] package/ola: usbpro needs gcc >= 4.9 Fabrice Fontaine
@ 2022-03-27 15:35 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2022-03-27 15:35 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Julien Olivain



On 17/03/2022 19:58, Fabrice Fontaine wrote:
> Fix the following build failure with usbpro raised since re-introduction
> of the package in commit 16ff948444c3978d63f483344a3d92d994c64312:
> 
> configure: error: compiler with C11 support is required to build libusb
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/e9239403bb13d3468db01a952da8c695c0e5ea30
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/ola/Config.in | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/package/ola/Config.in b/package/ola/Config.in
> index 36b175138f..e59637b57f 100644
> --- a/package/ola/Config.in
> +++ b/package/ola/Config.in
> @@ -164,8 +164,12 @@ config BR2_PACKAGE_OLA_PLUGIN_USBDMX
>   
>   config BR2_PACKAGE_OLA_PLUGIN_USBPRO
>   	bool "usbpro"
> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
>   	select BR2_PACKAGE_LIBUSB
>   	help
>   	  Build UsbPro plugin for OLA.
>   
> +comment "usbpro needs a toolchain w/ gcc >= 4.9"
> +	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
> +
>   endif
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-27 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17 18:58 [Buildroot] [PATCH 1/1] package/ola: usbpro needs gcc >= 4.9 Fabrice Fontaine
2022-03-27 15:35 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.