package/gpsd: condition python stuff to the proper kconfig option
Currently, we have a Kconfig symbol to enable the python support in gpsd, but the condition at configure time is based on whether the python package is enabled. So, if a user does not enable python support in gpsd, they still get it. Switch to using the proper symbol. Signed-off-by: Yann E. MORIN <yann.morin@orange.com> Cc: Bernd Kuhls <bernd@kuhls.net> Reviewed-by: Jan Havran <havran.jan@email.cz> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
65f8174648
commit
9696d27756
@@ -178,7 +178,7 @@ ifeq ($(BR2_PACKAGE_GPSD_MAX_DEV),y)
|
||||
GPSD_SCONS_OPTS += max_devices=$(BR2_PACKAGE_GPSD_MAX_DEV_VALUE)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
ifeq ($(BR2_PACKAGE_GPSD_PYTHON),y)
|
||||
GPSD_SCONS_OPTS += \
|
||||
python=yes \
|
||||
python_libdir="/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages"
|
||||
|
||||
Reference in New Issue
Block a user