mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-10 08:18:34 +00:00
Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipes
They are no longer required to build python software. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
e5f01cae38
commit
f9ce43cdf6
@@ -19,15 +19,12 @@ EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../"
|
||||
inherit distutils
|
||||
|
||||
do_compile_prepend() {
|
||||
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
|
||||
${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
|
||||
true
|
||||
}
|
||||
|
||||
# need to export these variables for python-config to work
|
||||
export PYTHONPATH
|
||||
export BUILD_SYS
|
||||
export HOST_SYS
|
||||
export STAGING_INCDIR
|
||||
export STAGING_LIBDIR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user