package/libnfc: pn53x_usb driver needs gcc >= 4.9
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 16 Dec 2020 06:40:23 +0000 (07:40 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 30 Dec 2020 22:56:02 +0000 (23:56 +0100)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libnfc/Config.in

index 073b8f37f56c96b5afae7a04d7703749f94e8846..ead61e4529058cddcdc60e9b3d42ad66a5b590f8 100644 (file)
@@ -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"