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:
committed by
Thomas Petazzoni
parent
5cd3797e9b
commit
ef35d60e1a
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user