czmq: prevent selection when ADI Blackfin external toolchains are used
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 May 2013 09:45:34 +0000 (09:45 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 29 May 2013 19:20:33 +0000 (21:20 +0200)
czmq fails to build with the Blackfin external toolchains provided by
Analog Devices, because their uClibc configuration doesn't include
AI_ADDRCONFIG. In order to prevent such build failures to happen, we
simply prevent the selection of czmq or one of its reverse
dependencies when such toolchains are used.

This fixes:

  http://autobuild.buildroot.org/results/821/82140fac4c2a2cef3f38f06cada8f17fd7f0078b/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/czmq/Config.in
package/filemq/Config.in
package/zyre/Config.in

index 7e4205e87a636b5e5b4c8fb8bba04085d0a38a03..0f16c2e2f4006775f0dc786fda442439cb9d24e4 100644 (file)
@@ -6,6 +6,10 @@ config BR2_PACKAGE_CZMQ
        depends on BR2_LARGEFILE # util-linux
        depends on BR2_USE_WCHAR # util-linux
        depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
+       # uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
+       # support
+       depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
+               !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
        help
          High-level C Binding for 0MQ
 
index d25f03f4b842858a649b9aaa031fa03ffe30292b..6f9fdb0c943e24763a99ef369363e2ef0fd2151a 100644 (file)
@@ -8,6 +8,10 @@ config BR2_PACKAGE_FILEMQ
        depends on BR2_LARGEFILE # util-linux
        depends on BR2_USE_WCHAR # util-linux
        depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
+       # uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
+       # support, which is needed by czmq
+       depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
+               !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
        help
          FileMQ is a publish-subscribe file service based on 0MQ.
 
index f181ac85cd8852d2462a014774b6030271896787..0ae0eec1488104c1e56e0cdfc312564785405d07 100644 (file)
@@ -5,6 +5,10 @@ config BR2_PACKAGE_ZYRE
        depends on BR2_LARGEFILE # filemq
        depends on BR2_USE_WCHAR # filemq
        depends on BR2_TOOLCHAIN_HAS_THREADS # filemq
+       # uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
+       # support, needed by filemq -> czmq
+       depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
+               !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
        select BR2_PACKAGE_FILEMQ
        help
          An open-source framework for proximity-based peer-to-peer