Skip to contentSkip to conversation

package/libnfc: pn53x_usb driver needs gcc >= 4.9

PATCH New Fabrice Fontaine 2 participants 2 messages Dec 16, 2020 – Dec 30, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/libnfc: pn53x_usb driver needs gcc >= 4.9

Commit 8a26801c9fad1c7749200e22e9dfdeaeeb65f76e forgot to propagate gcc >= 4.9 dependency

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

---
Changes v1 -> v2:
- Add autobuilder failure

 package/libnfc/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/libnfc/Config.in +4 -2
index 073b8f37f5..ead61e4529 100644
@@ -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"
Signature · 1 line
2.29.2
#1 lore raw

PATCH v2 1/1 package/libnfc: pn53x_usb driver needs gcc >= 4.9

Quoted 10 lines · On Wed, 16 Dec 2020 07:40:23 +0100 Fabrice Fontaine…

Commit 8a26801c9fad1c7749200e22e9dfdeaeeb65f76e forgot to propagate gcc >= 4.9 dependency

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

---
Changes v1 -> v2:
- Add autobuilder failure

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com