summaryrefslogtreecommitdiff
path: root/package/libftdi
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-25 00:07:48 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-26 21:25:38 +0100
commit1e1333fd8f1aa53b90f28187ad811f32bb0e79f4 (patch)
treefe240631389e447095bbd1328b8450d8b08e87dd /package/libftdi
parentf1550e3eb082862259bc76d0312c556407a24046 (diff)
libftdi: remove BR2_ARCH_HAS_ATOMICS dependency
In commit 669ce8c75eb4c76cef81f279fb6b4f95d1472f51 ("libftdi: add dependency on atomic operations"), a dependency on BR2_ARCH_HAS_ATOMICS was added to the libftdi package to fix a build failure occuring on the ARC architecture due to the missing __sync_fetch_and_add_4 function: ../ftdipp/.libs/libftdipp.so: undefined reference to `__sync_fetch_and_add_4' However, today, even on the SPARC architecture that does not implement any of the __sync built-ins, libftdi and its C++ binding libftdipp build fine. ARC was also tested and builds fine. Therefore, we remove the BR2_ARCH_HAS_ATOMICS dependency from libftdi, and also from flashrom, in which it was only present due to the selection of libftdi. Note that anyway flashrom is available only for i386 and x86_64, both of which implement all the __sync built-ins. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libftdi')
-rw-r--r--package/libftdi/Config.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/libftdi/Config.in b/package/libftdi/Config.in
index c0ab0f25a..8e02cb914 100644
--- a/package/libftdi/Config.in
+++ b/package/libftdi/Config.in
@@ -1,7 +1,6 @@
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
@@ -27,5 +26,4 @@ comment "libftdi C++ bindings need a toolchain w/ wchar, C++"
endif # BR2_PACKAGE_LIBFTDI
comment "libftdi needs a toolchain w/ threads"
- depends on BR2_ARCH_HAS_ATOMICS
depends on !BR2_TOOLCHAIN_HAS_THREADS