summaryrefslogtreecommitdiff
path: root/meta/classes/python-dir.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-04-05 16:18:44 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-18 09:35:54 +0100
commit4471f82c720c9d223f69c4cc5591094cc4ff4e5e (patch)
treeb68c6a5d6a9d5c32e4a1def724f43e7aa9d5a5cd /meta/classes/python-dir.bbclass
parent98bd7497c9fa904b01e4984e34d61daac54b2fab (diff)
downloadopenembedded-core-4471f82c720c9d223f69c4cc5591094cc4ff4e5e.tar.gz
openembedded-core-4471f82c720c9d223f69c4cc5591094cc4ff4e5e.tar.bz2
openembedded-core-4471f82c720c9d223f69c4cc5591094cc4ff4e5e.zip
python-dir.bbclass: define default PYTHON_BASEVERSION
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta/classes/python-dir.bbclass')
-rw-r--r--meta/classes/python-dir.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass
index a072a93877..1ceb92939b 100644
--- a/meta/classes/python-dir.bbclass
+++ b/meta/classes/python-dir.bbclass
@@ -1,2 +1,3 @@
+PYTHON_BASEVERSION ?= "2.6"
PYTHON_DIR = "python${PYTHON_BASEVERSION}"
PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"