aboutsummaryrefslogtreecommitdiff
path: root/package/libtirpc
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-05-28 09:45:35 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-05-29 21:22:12 +0200
commitc5f9a4fb91f7a19a9a507490a8f1d3d40ab708ba (patch)
treefba8ce44209f5c05ec17b7c6f7796fb16fcd5d54 /package/libtirpc
parent200b2dfa6db19c5907eaabb13411505301e9757a (diff)
downloadbuildroot-c5f9a4fb91f7a19a9a507490a8f1d3d40ab708ba.tar.gz
buildroot-c5f9a4fb91f7a19a9a507490a8f1d3d40ab708ba.tar.bz2
libtirpc: prevent selection when ADI Blackfin external toolchains are used
libtirpc 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 libtirpc from being selected when such toolchains are used. This is not a big problem, since they provide native RPC support. Also, since they provide native RPC, we don't have to propagate this new dependency to the reverse dependencies of libtirpc, because they all use native RPC when available. The exception to this rule is the rpcbind package, which can only use the libtirpc implementation of RPCs, and not the native one of C libraries. Therefore, the dependency is propagated to the rpcbind package. Fixes: http://autobuild.buildroot.org/results/58b/58b16449065c16afce11ba120db56839efb2b1ea/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libtirpc')
-rw-r--r--package/libtirpc/Config.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/libtirpc/Config.in b/package/libtirpc/Config.in
index 7e891b494f..b9db5aa4c1 100644
--- a/package/libtirpc/Config.in
+++ b/package/libtirpc/Config.in
@@ -1,5 +1,12 @@
config BR2_PACKAGE_LIBTIRPC
bool "libtirpc"
+ # uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
+ # support. Note that since they provide native RPC support, we
+ # don't need to propagate this dependency to reverse
+ # dependencies of libtirpc for which native RPC support can be
+ # used instead of libtirpc.
+ depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
+ !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
help
Libtirpc is a port of Sun's Transport-Independent RPC
library to Linux.