All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/apcupsd: fix reverse dependency for libusb
@ 2021-01-09 13:37 Bernd Kuhls
  2021-01-09 21:40 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2021-01-09 13:37 UTC (permalink / raw)
  To: buildroot

Commit
https://git.buildroot.net/buildroot/commit/?id=8a26801c9fad1c7749200e22e9dfdeaeeb65f76e
added a dependency to gcc >= 4.9 for libusb but forgot to propagate
the reverse dependency to BR2_PACKAGE_APCUPSD_USB.

Fixes:
http://autobuild.buildroot.net/results/f34/f348fe8e5530970a14589ca878810a3bdaf98f67/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/apcupsd/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/apcupsd/Config.in b/package/apcupsd/Config.in
index f87f6a8b55..2a00d43d67 100644
--- a/package/apcupsd/Config.in
+++ b/package/apcupsd/Config.in
@@ -57,13 +57,15 @@ config BR2_PACKAGE_APCUPSD_SNMP
 config BR2_PACKAGE_APCUPSD_USB
 	bool "usb"
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	help
 	  Compile USB UPS code
 
-comment "usb support needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "usb support needs a toolchain w/ threads, gcc >= 4.9"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 
 endif
 
-- 
2.29.2

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

end of thread, other threads:[~2021-01-09 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-09 13:37 [Buildroot] [PATCH 1/1] package/apcupsd: fix reverse dependency for libusb Bernd Kuhls
2021-01-09 21:40 ` Yann E. MORIN

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.