package/gpsd: add option to enable clients

In some cases, the clients are useless on the target, e.g. when there is
no need to adjust the gpsd daemon at runtime.

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yann E. MORIN
2024-08-02 23:32:21 +02:00
committed by Thomas Petazzoni
parent 5cd3797e9b
commit ef35d60e1a
2 changed files with 17 additions and 0 deletions
+11
View File
@@ -210,6 +210,17 @@ config BR2_PACKAGE_GPSD_UBX
help
uBlox UBX binary support
config BR2_PACKAGE_GPSD_CLIENTS
bool "gpsd clients"
default y # legacy
help
Build and install gspd client programs, like:
- gpsctl
- gpsdctl
- gpsdecode
- gpspipe
- ...
config BR2_PACKAGE_GPSD_PYTHON
bool "build Python support and modules"
depends on BR2_USE_WCHAR # python3
+6
View File
@@ -178,6 +178,12 @@ ifeq ($(BR2_PACKAGE_GPSD_MAX_DEV),y)
GPSD_SCONS_OPTS += max_devices=$(BR2_PACKAGE_GPSD_MAX_DEV_VALUE)
endif
ifeq ($(BR2_PACKAGE_GPSD_CLIENTS),y)
GPSD_SCONS_OPTS += gpsdclients=yes
else
GPSD_SCONS_OPTS += gpsdclients=no
endif
ifeq ($(BR2_PACKAGE_GPSD_PYTHON),y)
GPSD_SCONS_OPTS += \
python=yes \