diff options
Diffstat (limited to 'meta/classes/python-dir.bbclass')
-rw-r--r-- | meta/classes/python-dir.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass index 0b6a33c2ed..b4b5ab0eab 100644 --- a/meta/classes/python-dir.bbclass +++ b/meta/classes/python-dir.bbclass | |||
@@ -1,3 +1,4 @@ | |||
1 | PYTHON_BASEVERSION ?= "2.7" | 1 | PYTHON_BASEVERSION ?= "2.7" |
2 | PYTHON_DIR = "python${PYTHON_BASEVERSION}" | 2 | PYTHON_DIR = "python${PYTHON_BASEVERSION}" |
3 | PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}" | ||
3 | PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages" | 4 | PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages" |