mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
package/gpsd: perform SCons build with Python3
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
cca9156949
commit
1df29189e8
@ -10,7 +10,7 @@ GPSD_LICENSE = BSD-2-Clause
|
|||||||
GPSD_LICENSE_FILES = COPYING
|
GPSD_LICENSE_FILES = COPYING
|
||||||
GPSD_INSTALL_STAGING = YES
|
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_LDFLAGS = $(TARGET_LDFLAGS)
|
||||||
GPSD_CFLAGS = $(TARGET_CFLAGS)
|
GPSD_CFLAGS = $(TARGET_CFLAGS)
|
||||||
@ -205,7 +205,7 @@ GPSD_SCONS_ENV += LDFLAGS="$(GPSD_LDFLAGS)" CFLAGS="$(GPSD_CFLAGS)"
|
|||||||
define GPSD_BUILD_CMDS
|
define GPSD_BUILD_CMDS
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
$(GPSD_SCONS_ENV) \
|
$(GPSD_SCONS_ENV) \
|
||||||
$(HOST_DIR)/bin/python2 $(SCONS) \
|
$(HOST_DIR)/bin/python3 $(SCONS) \
|
||||||
$(GPSD_SCONS_OPTS))
|
$(GPSD_SCONS_OPTS))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -213,7 +213,7 @@ define GPSD_INSTALL_TARGET_CMDS
|
|||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
$(GPSD_SCONS_ENV) \
|
$(GPSD_SCONS_ENV) \
|
||||||
DESTDIR=$(TARGET_DIR) \
|
DESTDIR=$(TARGET_DIR) \
|
||||||
$(HOST_DIR)/bin/python2 $(SCONS) \
|
$(HOST_DIR)/bin/python3 $(SCONS) \
|
||||||
$(GPSD_SCONS_OPTS) \
|
$(GPSD_SCONS_OPTS) \
|
||||||
$(if $(BR2_PACKAGE_HAS_UDEV),udev-install,install))
|
$(if $(BR2_PACKAGE_HAS_UDEV),udev-install,install))
|
||||||
endef
|
endef
|
||||||
@ -235,7 +235,7 @@ define GPSD_INSTALL_STAGING_CMDS
|
|||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
$(GPSD_SCONS_ENV) \
|
$(GPSD_SCONS_ENV) \
|
||||||
DESTDIR=$(STAGING_DIR) \
|
DESTDIR=$(STAGING_DIR) \
|
||||||
$(HOST_DIR)/bin/python2 $(SCONS) \
|
$(HOST_DIR)/bin/python3 $(SCONS) \
|
||||||
$(GPSD_SCONS_OPTS) \
|
$(GPSD_SCONS_OPTS) \
|
||||||
install)
|
install)
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user