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>
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
endif # BR2_PACKAGE_LIBFTDI
comment "libftdi needs a toolchain w/ threads"
+ depends on BR2_ARCH_HAS_ATOMICS
depends on !BR2_TOOLCHAIN_HAS_THREADS
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