summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2020-01-24 10:53:35 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-01-24 11:21:01 +0100
commitb3a02372274080559082506d708408cfb45d1eb3 (patch)
treefa69907dc9217909ef2471cdeed0e35a3af4a9ab /scripts
parent8607bc9ff8bbf781feb0375ddf2c7059840155e0 (diff)
downloadptxdist-b3a02372274080559082506d708408cfb45d1eb3.tar.gz
ptxdist-b3a02372274080559082506d708408cfb45d1eb3.tar.xz
ptxd_make_world_common: allow python3 == host-system-python3 as build tool
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/ptxd_make_world_common.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh
index 46a1cecd7..4b165951d 100644
--- a/scripts/lib/ptxd_make_world_common.sh
+++ b/scripts/lib/ptxd_make_world_common.sh
@@ -313,6 +313,8 @@ ptxd_make_world_init() {
if [[ " ${pkg_build_deps} " =~ " host-system-python " && "${pkg_conf_tool}" = python ]]; then
ptx_build_python=python
+ elif [[ " ${pkg_build_deps} " =~ " host-system-python3 " && "${pkg_conf_tool}" = python3 ]]; then
+ ptx_build_python=python
else
ptx_build_python="${!build_python_ptr}"
fi