diff mbox

libiio: Disable IIOD on Blackfin

Message ID 1472462723-18842-1-git-send-email-paul.cercueil@analog.com
State Accepted
Commit 53996bee433f09a91b12aa53b2be0f7d22c0acbe
Headers show

Commit Message

Paul Cercueil Aug. 29, 2016, 9:25 a.m. UTC
IIOD uses accept4, which is not yet available on Blackfin.

Fixes:
 http://autobuild.buildroot.net/results/b75/b7552c9325ffcc7f1cb6e114b82648f3280fded6/

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
---
 package/libiio/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Peter Korsgaard Aug. 29, 2016, 3:53 p.m. UTC | #1
>>>>> "Paul" == Paul Cercueil <paul.cercueil@analog.com> writes:

 > IIOD uses accept4, which is not yet available on Blackfin.
 > Fixes:
 >  http://autobuild.buildroot.net/results/b75/b7552c9325ffcc7f1cb6e114b82648f3280fded6/

 > Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
 > ---
 >  package/libiio/Config.in | 4 ++++
 >  1 file changed, 4 insertions(+)

 > diff --git a/package/libiio/Config.in b/package/libiio/Config.in
 > index 69269e0..6f35715 100644
 > --- a/package/libiio/Config.in
 > +++ b/package/libiio/Config.in
 > @@ -53,6 +53,7 @@ config BR2_PACKAGE_LIBIIO_IIOD
 >  	bool "IIO Daemon"
 >  	select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
 >  	depends on BR2_TOOLCHAIN_HAS_THREADS
 > +	depends on !BR2_bfin
 >  	default y
 >  	help
 >  	  Install the IIO Daemon.
 > @@ -60,6 +61,9 @@ config BR2_PACKAGE_LIBIIO_IIOD
 >  comment "IIO Daemon needs a toolchain w/ threads"
 >  	depends on !BR2_TOOLCHAIN_HAS_THREADS

This comment no longer makes sense for bfin, so I added a 'depends on
!BR2_bfin'.

I verified that the system call indeed isn't wired up and committed with
that fix, thanks.


 > +comment "IIO Daemon is not yet available on Blackfin"
 > +	depends on BR2_bfin
 > +
 >  config BR2_PACKAGE_LIBIIO_TESTS
 >  	bool "Install test programs"
 >  	select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
 > -- 
 > 2.8.1

 > _______________________________________________
 > buildroot mailing list
 > buildroot@busybox.net
 > http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox

Patch

diff --git a/package/libiio/Config.in b/package/libiio/Config.in
index 69269e0..6f35715 100644
--- a/package/libiio/Config.in
+++ b/package/libiio/Config.in
@@ -53,6 +53,7 @@  config BR2_PACKAGE_LIBIIO_IIOD
 	bool "IIO Daemon"
 	select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_bfin
 	default y
 	help
 	  Install the IIO Daemon.
@@ -60,6 +61,9 @@  config BR2_PACKAGE_LIBIIO_IIOD
 comment "IIO Daemon needs a toolchain w/ threads"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
 
+comment "IIO Daemon is not yet available on Blackfin"
+	depends on BR2_bfin
+
 config BR2_PACKAGE_LIBIIO_TESTS
 	bool "Install test programs"
 	select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND