All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] rtptools: disable for MIPS Codescape toolchains
@ 2016-03-08 14:23 Vicente Olivert Riera
  2016-03-08 15:32 ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Vicente Olivert Riera @ 2016-03-08 14:23 UTC (permalink / raw)
  To: buildroot

Codescape toolchains don't provide rpcsvc/ypclnt.h, therefore rtptools
fails to build showing an error like this one:

host2ip.c:13:38: fatal error: rpcsvc/ypclnt.h: No such file or directory
 #include <rpcsvc/ypclnt.h>   /* YP */

Fixes:

  http://autobuild.buildroot.net/results/5a8abdd4918a721c1bddbf68a16d99bea90a59a9/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/rtptools/Config.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/rtptools/Config.in b/package/rtptools/Config.in
index 80bbb7a..257be7f 100644
--- a/package/rtptools/Config.in
+++ b/package/rtptools/Config.in
@@ -1,7 +1,14 @@
 config BR2_PACKAGE_RTPTOOLS
 	bool "rtptools"
+	# Codescape toolchains don't have rpcsvc/ypclnt.h
+	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS && \
+		!BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
 	help
 	  The rtptools distribution consists of a number of small
 	  applications that can be used for processing RTP data.
 
 	  http://www.cs.columbia.edu/irt/software/rtptools/
+
+comment "rtptools cannot be built with a MIPS Codescape toolchain"
+	depends on BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS || \
+		BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-09 14:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-08 14:23 [Buildroot] [PATCH] rtptools: disable for MIPS Codescape toolchains Vicente Olivert Riera
2016-03-08 15:32 ` Thomas Petazzoni
2016-03-08 16:03   ` Vicente Olivert Riera
2016-03-08 16:11     ` Thomas Petazzoni
2016-03-09 14:00       ` Vicente Olivert Riera
2016-03-09 14:05         ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.