diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2014-12-03 13:40:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-25 08:18:13 +0000 |
commit | f6cf293bbd22b4a0a4d5ab350ea5d3d9e8705ca1 (patch) | |
tree | 3b9906a2881c9eb95ef531672d71e5dbae9c7434 /meta/classes/pythonnative.bbclass | |
parent | 052c67c8450fb1d9e0a10d7c60b23727c3830b24 (diff) | |
download | poky-f6cf293bbd22b4a0a4d5ab350ea5d3d9e8705ca1.tar.gz |
pythonnative: set PYTHON_EXECUTABLE so that cmake can find it
| CMake Error at /home/a.mueller/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
| Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
[RP: Added comment that is used by cmake]
(From OE-Core rev: 66455b8a0758176996028bf23f04391c7baf8abd)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/pythonnative.bbclass')
-rw-r--r-- | meta/classes/pythonnative.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass index fdd22bbc86..97029dc525 100644 --- a/meta/classes/pythonnative.bbclass +++ b/meta/classes/pythonnative.bbclass | |||
@@ -2,5 +2,7 @@ | |||
2 | inherit python-dir | 2 | inherit python-dir |
3 | 3 | ||
4 | PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" | 4 | PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" |
5 | # PYTHON_EXECUTABLE is used by cmake | ||
6 | PYTHON_EXECUTABLE="${PYTHON}" | ||
5 | EXTRANATIVEPATH += "${PYTHON_PN}-native" | 7 | EXTRANATIVEPATH += "${PYTHON_PN}-native" |
6 | DEPENDS += " ${PYTHON_PN}-native " | 8 | DEPENDS += " ${PYTHON_PN}-native " |