mirror of
git://git.yoctoproject.org/poky
synced 2026-10-23 04:45:33 +00:00
classes/distutils: Introduce PYTHON_PN
This is needed to accomodate python3 alongside python2 (From OE-Core rev: ae931c2cf9e48e1fb74b4b727dbf668ea880023f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
1 parent
867b1eee25
commit
8314590f09
5 files changed
+23
-19
No files matched your search
@@ -1,3 +1,4 @@
|
||||
PYTHON_BASEVERSION ?= "2.7"
|
||||
PYTHON_DIR = "python${PYTHON_BASEVERSION}"
|
||||
PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}"
|
||||
PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"
|
||||
Reference in new issue
Block a user