[Buildroot] [PATCH 1/1] package/gpsd: perform SCons build with Python3
Arnout Vandecappelle
arnout at mind.be
Tue Oct 29 23:39:09 UTC 2019
On 27/10/2019 15:35, Titouan Christophe wrote:
> Signed-off-by: Titouan Christophe <titouan.christophe at railnova.eu>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/gpsd/gpsd.mk | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk
> index 79d2ccfeaa..53f423626f 100644
> --- a/package/gpsd/gpsd.mk
> +++ b/package/gpsd/gpsd.mk
> @@ -10,7 +10,7 @@ GPSD_LICENSE = BSD-2-Clause
> GPSD_LICENSE_FILES = COPYING
> GPSD_INSTALL_STAGING = YES
>
> -GPSD_DEPENDENCIES = host-python host-scons host-pkgconf
> +GPSD_DEPENDENCIES = host-python3 host-scons host-pkgconf
>
> GPSD_LDFLAGS = $(TARGET_LDFLAGS)
> GPSD_CFLAGS = $(TARGET_CFLAGS)
> @@ -204,7 +204,7 @@ GPSD_SCONS_ENV += LDFLAGS="$(GPSD_LDFLAGS)" CFLAGS="$(GPSD_CFLAGS)"
> define GPSD_BUILD_CMDS
> (cd $(@D); \
> $(GPSD_SCONS_ENV) \
> - $(HOST_DIR)/bin/python2 $(SCONS) \
> + $(HOST_DIR)/bin/python3 $(SCONS) \
> $(GPSD_SCONS_OPTS))
> endef
>
> @@ -212,7 +212,7 @@ define GPSD_INSTALL_TARGET_CMDS
> (cd $(@D); \
> $(GPSD_SCONS_ENV) \
> DESTDIR=$(TARGET_DIR) \
> - $(HOST_DIR)/bin/python2 $(SCONS) \
> + $(HOST_DIR)/bin/python3 $(SCONS) \
> $(GPSD_SCONS_OPTS) \
> install)
> endef
> @@ -226,7 +226,7 @@ define GPSD_INSTALL_STAGING_CMDS
> (cd $(@D); \
> $(GPSD_SCONS_ENV) \
> DESTDIR=$(STAGING_DIR) \
> - $(HOST_DIR)/bin/python2 $(SCONS) \
> + $(HOST_DIR)/bin/python3 $(SCONS) \
> $(GPSD_SCONS_OPTS) \
> install)
> endef
> @@ -238,7 +238,7 @@ define GPSD_INSTALL_UDEV_RULES
> (cd $(@D); \
> $(GPSD_SCONS_ENV) \
> DESTDIR=$(TARGET_DIR) \
> - $(HOST_DIR)/bin/python2 $(SCONS) \
> + $(HOST_DIR)/bin/python3 $(SCONS) \
> $(GPSD_SCONS_OPTS) \
> udev-install)
> chmod u+w $(TARGET_DIR)/lib/udev/rules.d/25-gpsd.rules
>
More information about the buildroot
mailing list