From 6aeca07c728b46cb08571e349db25737553d79b9 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 9 Jul 2024 16:23:57 +0200 Subject: [PATCH] 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 Cc: Bernd Kuhls Reviewed-by: Jan Havran Signed-off-by: Thomas Petazzoni (cherry picked from commit 9696d277565159029e74efb9eae16b4a670bf945) Signed-off-by: Peter Korsgaard --- package/gpsd/gpsd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk index 1d4013d122..c57fad83c3 100644 --- a/package/gpsd/gpsd.mk +++ b/package/gpsd/gpsd.mk @@ -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"