Skip to content

Commit

Permalink
package/gpsd: condition python stuff to the proper kconfig option
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Bernd Kuhls <[email protected]>
Reviewed-by: Jan Havran <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
ymorin-orange authored and tpetazzoni committed Aug 2, 2024
1 parent 65f8174 commit 9696d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/gpsd/gpsd.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9696d27

Please sign in to comment.