Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2, 1/1] package/libnfc: pn53x_usb driver needs gcc >= 4.9
@ 2020-12-16  6:40 Fabrice Fontaine
  2020-12-30 22:56 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-12-16  6:40 UTC (permalink / raw)
  To: buildroot

Commit 8a26801c9fad1c7749200e22e9dfdeaeeb65f76e forgot to propagate
gcc >= 4.9 dependency

Fixes:
 - http://autobuild.buildroot.org/results/6586f4aecf9a47612bfedfc503c9c2948a17e9d6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2:
 - Add autobuilder failure

 package/libnfc/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/libnfc/Config.in b/package/libnfc/Config.in
index 073b8f37f5..ead61e4529 100644
--- a/package/libnfc/Config.in
+++ b/package/libnfc/Config.in
@@ -64,13 +64,15 @@ config BR2_PACKAGE_LIBNFC_PN53X_USB
 	bool "pn53x_usb driver"
 	default y
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	help
 	  support for pn53x_usb driver
 
-comment "pn53x_usb driver needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "pn53x_usb driver needs a toolchain w/ threads, gcc >= 4.9"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 
 config BR2_PACKAGE_LIBNFC_EXAMPLES
 	bool "build libnfc examples"
-- 
2.29.2

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

end of thread, other threads:[~2020-12-30 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16  6:40 [Buildroot] [PATCH v2, 1/1] package/libnfc: pn53x_usb driver needs gcc >= 4.9 Fabrice Fontaine
2020-12-30 22:56 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox