directfb: disable for sparc
authorWaldemar Brodkorb <wbx@openadk.org>
Fri, 4 Dec 2015 16:54:15 +0000 (17:54 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 4 Dec 2015 20:31:05 +0000 (21:31 +0100)
Requires atomic operations.
Fixes following autobuild failure:
http://autobuild.buildroot.net/results/8205100c166659c47daff66b1e63edc82eeb7930/

[Peter: also hide toolchain comment]
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/directfb/Config.in

index 8c13d307948ae9dbcbccc622b7bf0ed86a941956..2d0946074802390912b45f2d7f39f54151483377 100644 (file)
@@ -4,6 +4,7 @@ config BR2_PACKAGE_DIRECTFB
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
        depends on !BR2_TOOLCHAIN_USES_MUSL # sigval_t issue
+       depends on !BR2_sparc # needs atomic operation __sync_fetch_and_add
        select BR2_PACKAGE_FREETYPE
        select BR2_PACKAGE_ZLIB
        help
@@ -166,5 +167,6 @@ config BR2_PACKAGE_DIRECTFB_TESTS
 endif # BR2_PACKAGE_DIRECTFB
 
 comment "directfb needs a (e)glibc or uClibc toolchain w/ C++, threads, gcc >= 4.5"
+       depends on !BR2_sparc # needs atomic operation __sync_fetch_and_add
        depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
                !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 || BR2_TOOLCHAIN_USES_MUSL