Commit 669ce8c7 authored by Anton Kolesov's avatar Anton Kolesov Committed by Peter Korsgaard
Browse files

libftdi: add dependency on atomic operations

This fixes:
http://autobuild.buildroot.net/results/6cb25ed954840109c9d0e582e922b0ba9d07e174/



Signed-off-by: default avatarAnton Kolesov <Anton.Kolesov@synopsys.com>
[yann.morin.1998@free.fr: use the new symbol; remove comment strings]
Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 8277bb18
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
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
+1 −0
Original line number Diff line number Diff line
@@ -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