From dfd6cd9eb6357fdcb290b0ffd785b1a7cd3a1c6a Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 26 Nov 2019 11:19:49 +0000 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python_2.7.17.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta/recipes-devtools/python/python_2.7.17.bb') 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 @@ require python.inc -DEPENDS = "python-native libffi bzip2 gdbm openssl \ +DEPENDS = "libffi bzip2 gdbm openssl \ readline sqlite3 zlib virtual/crypt" DISTRO_SRC_URI ?= "file://sitecustomize.py" @@ -48,7 +48,6 @@ PACKAGECONFIG[tk] = ",,tk" # pgen isn't needed in the current build, but use the binary from python-native just in case. EXTRA_OEMAKE = "PGEN=${STAGING_BINDIR_NATIVE}/python-native/pgen \ - HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python-native/python \ CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ \ STAGING_LIBDIR=${STAGING_LIBDIR} \ STAGING_INCDIR=${STAGING_INCDIR} \ -- cgit v1.2.3-54-g00ecf