1comment "gpsd needs a toolchain w/ threads, dynamic library"
2	depends on BR2_USE_MMU
3	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
4
5menuconfig BR2_PACKAGE_GPSD
6	bool "gpsd"
7	# Uses fork()
8	depends on BR2_USE_MMU
9	depends on BR2_TOOLCHAIN_HAS_THREADS
10	# Always tries to build a shared library
11	depends on !BR2_STATIC_LIBS
12	help
13	  gpsd is a service daemon that monitors one or more GPSes or
14	  AIS receivers attached to a host computer through serial or
15	  USB ports, making all data on the location/course/velocity of
16	  the sensors available to be queried on TCP port 2947 of the
17	  host computer.
18
19	  The D-Bus interface is included if dbus-glib is enabled.
20
21	  https://gpsd.gitlab.io/gpsd
22
23if BR2_PACKAGE_GPSD
24
25config BR2_PACKAGE_GPSD_DEVICES
26	string "Where to look for GPSes"
27	default "/dev/ttyS1"
28
29comment "Features"
30
31config BR2_PACKAGE_GPSD_CLIENT_DEBUG
32	bool "client debugging support"
33
34config BR2_PACKAGE_GPSD_PROFILING
35	bool "profiling support"
36	depends on BR2_TOOLCHAIN_USES_GLIBC
37	depends on !BR2_aarch64
38	# Needs glibc for ARC arc-2018.03-eng007+ for correct __mcount linking
39	depends on !BR2_arc
40
41comment "profiling support not available with uClibc-based toolchain"
42	depends on !BR2_TOOLCHAIN_USES_GLIBC
43
44config BR2_PACKAGE_GPSD_USER
45	bool "GPSD privilege revocation user"
46
47config BR2_PACKAGE_GPSD_USER_VALUE
48	string "user to run as"
49	default "nobody"
50	depends on BR2_PACKAGE_GPSD_USER
51
52config BR2_PACKAGE_GPSD_GROUP
53	bool "GPSD privilege revocation group"
54
55config BR2_PACKAGE_GPSD_GROUP_VALUE
56	string "group to run as"
57	default "nobody"
58	depends on BR2_PACKAGE_GPSD_GROUP
59
60config BR2_PACKAGE_GPSD_MAX_CLIENT
61	bool "compile with limited maximum clients"
62
63config BR2_PACKAGE_GPSD_MAX_CLIENT_VALUE
64	int "maximum number of clients"
65	default "10"
66	depends on BR2_PACKAGE_GPSD_MAX_CLIENT
67
68config BR2_PACKAGE_GPSD_MAX_DEV
69	bool "compile with maximum allowed devices"
70
71config BR2_PACKAGE_GPSD_MAX_DEV_VALUE
72	int "maximum allowed devices"
73	default "2"
74	depends on BR2_PACKAGE_GPSD_MAX_DEV
75
76config BR2_PACKAGE_GPSD_SQUELCH
77	bool "squelch gpsd_report and gpsd_hexdump to save cpu"
78
79config BR2_PACKAGE_GPSD_PYTHON
80	bool "build Python support and modules"
81	depends on BR2_USE_WCHAR # python3
82	select BR2_PACKAGE_PYTHON3
83	help
84	  Python libraries and tools for the gpsd service daemon
85	  including gpsfake test harness.
86
87comment "GPSD python support not available with toolchain w/o wide characters support"
88	depends on !BR2_USE_WCHAR
89
90comment "Protocols"
91
92config BR2_PACKAGE_GPSD_AIVDM
93	bool "Aivdm"
94	help
95	  Aivdm support
96
97config BR2_PACKAGE_GPSD_ASHTECH
98	bool "Ashtech"
99	help
100	  Ashtech support
101
102config BR2_PACKAGE_GPSD_EARTHMATE
103	bool "Earthmate"
104	help
105	  DeLorme EarthMate Zodiac support
106
107config BR2_PACKAGE_GPSD_EVERMORE
108	bool "EverMore"
109	help
110	  EverMore binary support
111
112config BR2_PACKAGE_GPSD_FURY
113	bool "Fury"
114	help
115	  Jackson Labs Fury and Firefly support
116
117config BR2_PACKAGE_GPSD_FV18
118	bool "FV-18"
119	help
120	  San Jose Navigation FV-18 support
121
122config BR2_PACKAGE_GPSD_GARMIN
123	bool "Garmin (kernel)"
124	help
125	  Garmin kernel driver support
126
127config BR2_PACKAGE_GPSD_GARMIN_SIMPLE_TXT
128	bool "Garmin (simple text)"
129	help
130	  Garmin Simple Text support
131
132config BR2_PACKAGE_GPSD_GEOSTAR
133	bool "Geostar"
134	help
135	  Geostar Protocol support
136
137config BR2_PACKAGE_GPSD_GPSCLOCK
138	bool "GPSClock"
139	help
140	  GPSClock support
141
142config BR2_PACKAGE_GPSD_GREIS
143	bool "Greis"
144	help
145	  Greis support
146
147config BR2_PACKAGE_GPSD_ISYNC
148	bool "iSync"
149	help
150	  Spectratime iSync LNRClok/GRCLOK support
151
152config BR2_PACKAGE_GPSD_ITRAX
153	bool "iTrax"
154	help
155	  iTrax support
156
157config BR2_PACKAGE_GPSD_NAVCOM
158	bool "Navcom"
159	help
160	  Navcom binary support
161
162config BR2_PACKAGE_GPSD_NMEA2000
163	bool "NMEA2000"
164	select BR2_PACKAGE_GPSD_NAVCOM
165	select BR2_PACKAGE_GPSD_AIVDM
166	help
167	  NMEA2000/CAN support
168
169config BR2_PACKAGE_GPSD_OCEANSERVER
170	bool "OceanServer"
171	help
172	  OceanServer Digital Compass support
173
174config BR2_PACKAGE_GPSD_ONCORE
175	bool "OnCore"
176	help
177	  OnCore support
178
179config BR2_PACKAGE_GPSD_RTCM104V2
180	bool "RTCM104 v2"
181	help
182	  RTCM104 v2 support
183
184config BR2_PACKAGE_GPSD_RTCM104V3
185	bool "RTCM104 v3"
186	help
187	  RTCM104 v3 support
188
189config BR2_PACKAGE_GPSD_SIRF
190	bool "SiRF"
191	help
192	  SiRF binary support
193
194config BR2_PACKAGE_GPSD_SKYTRAQ
195	bool "Skytraq"
196	help
197	  Skytraq support
198
199config BR2_PACKAGE_GPSD_SUPERSTAR2
200	bool "SuperStarII"
201	help
202	  Novatel SuperStarII binary support
203
204config BR2_PACKAGE_GPSD_TRIMBLE_TSIP
205	bool "Trimble TSIP"
206	help
207	  Trimble TSIP support
208
209config BR2_PACKAGE_GPSD_TRIPMATE
210	bool "TripMate"
211	help
212	  Delorme TripMate support
213
214config BR2_PACKAGE_GPSD_TRUE_NORTH
215	bool "True North Technologies"
216	help
217	  True North Technologies support
218
219config BR2_PACKAGE_GPSD_UBX
220	bool "UBX"
221	help
222	  uBlox UBX binary support
223
224endif
225