mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/scons: explicitly specify host Python 3
All packages using scons are now using Python 3 to run it, so explicitly set scons as using host-python3. This avoids a spurious host Python 2 dependency if BR2_PACKAGE_PYTHON3 is not set (for example, if no Python is packaged for the target). Signed-off-by: Robert Hancock <hancock@sedsystems.ca> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
5260f3189b
commit
dd448234d2
@@ -10,6 +10,8 @@ SCONS_LICENSE = MIT
|
|||||||
SCONS_LICENSE_FILES = LICENSE.txt
|
SCONS_LICENSE_FILES = LICENSE.txt
|
||||||
SCONS_SETUP_TYPE = distutils
|
SCONS_SETUP_TYPE = distutils
|
||||||
|
|
||||||
|
HOST_SCONS_NEEDS_HOST_PYTHON = python3
|
||||||
|
|
||||||
HOST_SCONS_INSTALL_OPTS = \
|
HOST_SCONS_INSTALL_OPTS = \
|
||||||
--install-lib=$(HOST_DIR)/lib/scons-$(SCONS_VERSION)
|
--install-lib=$(HOST_DIR)/lib/scons-$(SCONS_VERSION)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user