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:
parent
d27906769f
commit
e643be1bfc
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user