Patchwork gpsd: needs threads

login
register
mail settings
Submitter Gustavo Zacarias
Date Dec. 14, 2012, 10:25 a.m.
Message ID <1355480711-12089-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/206384/
State Accepted
Headers show

Comments

Gustavo Zacarias - Dec. 14, 2012, 10:25 a.m.
Fixes
http://autobuild.buildroot.net/results/05925389ac2531307f23bf5f5f3a83a5a97301bf/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/gpsd/Config.in |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Peter Korsgaard - Dec. 14, 2012, 10:35 a.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

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

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 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.

Patch

diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in
index 69f63f9..35e535b 100644
--- a/package/gpsd/Config.in
+++ b/package/gpsd/Config.in
@@ -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"