Skip to contentSkip to conversation

gpsd: needs threads

PATCH New Gustavo Zacarias 2 participants 2 messages Dec 14, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpsd: needs threads

Fixes
http://autobuild.buildroot.net/results/05925389ac2531307f23bf5f5f3a83a5a97301bf/

---
 package/gpsd/Config.in |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
package/gpsd/Config.in +5 -0
index 69f63f9..35e535b 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_GPSD
 	bool "gpsd"
 	# Uses fork()
 	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  gpsd is a service daemon that monitors one or more GPSes or AIS
 	  receivers attached to a host computer through serial or USB ports,
@@ -12,6 +13,10 @@ config BR2_PACKAGE_GPSD
 
 	  http://gpsd.berlios.de/
 
+
+comment "gpsd needs a toolchain with thread support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_GPSD_DEVICES
 	string "Where to look for GPSes"
 	default "/dev/ttyS1"
Signature · 1 line
1.7.8.6
#1 lore raw

PATCH 1/1 gpsd: needs threads

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Fixes
Gustavo> http://autobuild.buildroot.net/results/05925389ac2531307f23bf5f5f3a83a5a97301bf/

Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]> Gustavo> ---

 Gustavo>  package/gpsd/Config.in |    5 +++++

Gustavo> 1 files changed, 5 insertions(+), 0 deletions(-)

Gustavo> diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in Gustavo> index 69f63f9..35e535b 100644
Gustavo> --- a/package/gpsd/Config.in
Gustavo> +++ b/package/gpsd/Config.in
Gustavo> @@ -2,6 +2,7 @@ config BR2_PACKAGE_GPSD

 Gustavo>  	bool "gpsd"
 Gustavo>  	# Uses fork()
 Gustavo>  	depends on BR2_USE_MMU
 Gustavo> +	depends on BR2_TOOLCHAIN_HAS_THREADS
 Gustavo>  	help
 Gustavo>  	  gpsd is a service daemon that monitors one or more GPSes or AIS
 Gustavo>  	  receivers attached to a host computer through serial or USB ports,

Gustavo> @@ -12,6 +13,10 @@ config BR2_PACKAGE_GPSD

Gustavo> http://gpsd.berlios.de/

Gustavo> +
Gustavo> +comment "gpsd needs a toolchain with thread support"
Gustavo> + depends on !BR2_TOOLCHAIN_HAS_THREADS
Gustavo> +

Menuconfig has a bug which causes suboptions to not be indented if there's a comment before them, so the comment needs to go either above BR2_PACKAGE_GPSD or below all the sub options.

Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard