diff options
| author | Ross Burton <ross.burton@intel.com> | 2019-11-26 11:19:49 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-29 17:43:40 +0000 |
| commit | dfd6cd9eb6357fdcb290b0ffd785b1a7cd3a1c6a (patch) | |
| tree | 99167a4b1007d867c087123f5ec26950a196ebdb /meta/recipes-devtools/python/python_2.7.17.bb | |
| parent | d4091bc1bdb614dcf56078883b39db73204f459c (diff) | |
| download | poky-dfd6cd9eb6357fdcb290b0ffd785b1a7cd3a1c6a.tar.gz | |
python: use PYTHON_FOR_BUILD, don't add HOSTPYTHON
There's already a variable for "the host python to use during the build
when cross-compiling", so there's no need to add another.
(From OE-Core rev: 1ede9777478469fbdb633782e0ffb2ae68b1a578)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.17.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python_2.7.17.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.17.bb b/meta/recipes-devtools/python/python_2.7.17.bb index b3bdcba1a8..be7c6d2d2b 100644 --- a/meta/recipes-devtools/python/python_2.7.17.bb +++ b/meta/recipes-devtools/python/python_2.7.17.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | require python.inc | 1 | require python.inc |
| 2 | 2 | ||
| 3 | DEPENDS = "python-native libffi bzip2 gdbm openssl \ | 3 | DEPENDS = "libffi bzip2 gdbm openssl \ |
| 4 | readline sqlite3 zlib virtual/crypt" | 4 | readline sqlite3 zlib virtual/crypt" |
| 5 | 5 | ||
| 6 | DISTRO_SRC_URI ?= "file://sitecustomize.py" | 6 | DISTRO_SRC_URI ?= "file://sitecustomize.py" |
| @@ -48,7 +48,6 @@ PACKAGECONFIG[tk] = ",,tk" | |||
| 48 | 48 | ||
| 49 | # pgen isn't needed in the current build, but use the binary from python-native just in case. | 49 | # pgen isn't needed in the current build, but use the binary from python-native just in case. |
| 50 | EXTRA_OEMAKE = "PGEN=${STAGING_BINDIR_NATIVE}/python-native/pgen \ | 50 | EXTRA_OEMAKE = "PGEN=${STAGING_BINDIR_NATIVE}/python-native/pgen \ |
| 51 | HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python-native/python \ | ||
| 52 | CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ \ | 51 | CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ \ |
| 53 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | 52 | STAGING_LIBDIR=${STAGING_LIBDIR} \ |
| 54 | STAGING_INCDIR=${STAGING_INCDIR} \ | 53 | STAGING_INCDIR=${STAGING_INCDIR} \ |
