diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-04-25 15:57:59 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-30 22:47:14 +0100 |
commit | 3891fcec863602a0ae6d0f3d305ea50a79a205d9 (patch) | |
tree | 95177438a0b3090f2351e62d97fc855ee9ae5398 /meta/classes/python3native.bbclass | |
parent | 5a149a051f91404b736a7c93b4b864f206cc7b1b (diff) | |
download | openembedded-core-contrib-3891fcec863602a0ae6d0f3d305ea50a79a205d9.tar.gz |
python3-dir.bbclass: add a separate class for Python 3
This is much cleaner than sharing python-dir.bbclass between python 2
and 3 classes, and doing confusing overrides in them.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta/classes/python3native.bbclass')
-rw-r--r-- | meta/classes/python3native.bbclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/python3native.bbclass b/meta/classes/python3native.bbclass index 8ec6b769da..18998636b4 100644 --- a/meta/classes/python3native.bbclass +++ b/meta/classes/python3native.bbclass @@ -1,6 +1,4 @@ -PYTHON_BASEVERSION = "3.5" - -inherit python-dir +inherit python3-dir PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" EXTRANATIVEPATH += "${PYTHON_PN}-native" |