diff options
| author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
|---|---|---|
| committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
| commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
| tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/classes/python-dir.bbclass | |
| download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz | |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/classes/python-dir.bbclass')
| -rw-r--r-- | meta/classes/python-dir.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass new file mode 100644 index 0000000000..ebfa4b30f6 --- /dev/null +++ b/meta/classes/python-dir.bbclass | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | PYTHON_BASEVERSION ?= "2.7" | ||
| 2 | PYTHON_ABI ?= "" | ||
| 3 | PYTHON_DIR = "python${PYTHON_BASEVERSION}" | ||
| 4 | PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}" | ||
| 5 | PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages" | ||
