Skip to contentSkip to conversation

libiio: Disable IIOD on Blackfin

PATCH New Paul Cercueil 2 participants 2 messages Aug 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libiio: Disable IIOD on Blackfin

IIOD uses accept4, which is not yet available on Blackfin.

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

---
 package/libiio/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/libiio/Config.in +4 -0
index 69269e0..6f35715 100644
@@ -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
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 libiio: Disable IIOD on Blackfin

Quoted 24 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Paul" == Paul Cercueil <[email protected]> writes:

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

---
 package/libiio/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/libiio/Config.in +1 -0
index 69269e0..6f35715 100644
@@ -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.

package/libiio/Config.in config BR2_PACKAGE_LIBIIO_IIOD · line 62

Quoted 2 lines
package/libiio/Config.in +0 -0
@@ -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.

Quoted 13 lines
package/libiio/Config.in +3 -0
+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
Signature · 6 lines
2.8.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 1 line
Bye, Peter Korsgaard