summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-05-28 09:45:34 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-29 19:20:33 (GMT)
commit200b2dfa6db19c5907eaabb13411505301e9757a (patch)
tree2b1c068d9127708b97ab113b8f5ea7a0e662668f
parent3ebb2e80844088de6ea8a923762ac2c47437d810 (diff)
downloadbuildroot-200b2dfa6db19c5907eaabb13411505301e9757a.tar.gz
buildroot-200b2dfa6db19c5907eaabb13411505301e9757a.tar.bz2
czmq: prevent selection when ADI Blackfin external toolchains are used
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>
-rw-r--r--package/czmq/Config.in4
-rw-r--r--package/filemq/Config.in4
-rw-r--r--package/zyre/Config.in4
3 files changed, 12 insertions, 0 deletions
diff --git a/package/czmq/Config.in b/package/czmq/Config.in
index 7e4205e..0f16c2e 100644
--- a/package/czmq/Config.in
+++ b/package/czmq/Config.in
@@ -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
diff --git a/package/filemq/Config.in b/package/filemq/Config.in
index d25f03f..6f9fdb0 100644
--- a/package/filemq/Config.in
+++ b/package/filemq/Config.in
@@ -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.
diff --git a/package/zyre/Config.in b/package/zyre/Config.in
index f181ac8..0ae0eec 100644
--- a/package/zyre/Config.in
+++ b/package/zyre/Config.in
@@ -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