From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- meta/classes/python-dir.bbclass | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 meta/classes/python-dir.bbclass (limited to 'meta/classes/python-dir.bbclass') 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 @@ +PYTHON_BASEVERSION ?= "2.7" +PYTHON_ABI ?= "" +PYTHON_DIR = "python${PYTHON_BASEVERSION}" +PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}" +PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages" -- cgit v1.2.3-54-g00ecf