package/gpsd: drop python2 support

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Peter Korsgaard 2022-02-09 17:50:41 +01:00 committed by Yann E. MORIN
parent d27906769f
commit e643be1bfc
2 changed files with 2 additions and 6 deletions

View File

@ -81,8 +81,8 @@ config BR2_PACKAGE_GPSD_SQUELCH
config BR2_PACKAGE_GPSD_PYTHON
bool "build Python support and modules"
depends on BR2_USE_WCHAR # python
select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON
depends on BR2_USE_WCHAR # python3
select BR2_PACKAGE_PYTHON3
help
Python libraries and tools for the gpsd service daemon
including gpsfake test harness.

View File

@ -194,10 +194,6 @@ ifeq ($(BR2_PACKAGE_PYTHON3),y)
GPSD_SCONS_OPTS += \
python=yes \
python_libdir="/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages"
else ifeq ($(BR2_PACKAGE_PYTHON),y)
GPSD_SCONS_OPTS += \
python=yes \
python_libdir="/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages"
else
GPSD_SCONS_OPTS += python=no
endif