libftdi: add dependency on atomic operations
authorAnton Kolesov <anton.kolesov@synopsys.com>
Sun, 17 Aug 2014 19:29:49 +0000 (21:29 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 18 Aug 2014 09:00:17 +0000 (11:00 +0200)
This fixes:
http://autobuild.buildroot.net/results/6cb25ed954840109c9d0e582e922b0ba9d07e174/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
[yann.morin.1998@free.fr: use the new symbol; remove comment strings]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libftdi/Config.in
package/openocd/Config.in

index dc815148f01da1e7aa275a29759f2a85970348ec..76b30b1ba1a450bdf28545750b5686f1c76329a8 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBFTDI
        bool "libftdi"
        depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+       depends on BR2_ARCH_HAS_ATOMICS
        select BR2_PACKAGE_LIBUSB
        select BR2_PACKAGE_LIBUSB_COMPAT
        help
@@ -19,4 +20,5 @@ config BR2_PACKAGE_LIBTFDI_CPP
 endif # BR2_PACKAGE_LIBFTDI
 
 comment "libftdi needs a toolchain w/ threads"
+       depends on BR2_ARCH_HAS_ATOMICS
        depends on !BR2_TOOLCHAIN_HAS_THREADS
index 7f96ef8648c7782c541d5453f8f36631efa60343..9440c65f2f0d353ac3e5278bc17011474ea6fd6d 100644 (file)
@@ -14,6 +14,7 @@ comment "Adapters"
 
 config BR2_PACKAGE_OPENOCD_FT2XXX
        bool "FT2xxx/FT4xxx Based JTAG Programmer"
+       depends on BR2_ARCH_HAS_ATOMICS # libftdi
        select BR2_PACKAGE_LIBFTDI
        help
          Enable building support for FT2232 based devices