mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
python: recompile _sysconfigdata.py after modifying it
We sed this file after the .pyc has been generated, so re-compile the .pyc to ensure that it is up to date. (From OE-Core rev: 66e55d3af7d7948869620ce24c06ba2bc705ae0a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d41968d8a8
commit
23ec1fcfa4
@@ -132,6 +132,7 @@ py_package_preprocess () {
|
||||
sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
|
||||
${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \
|
||||
${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
|
||||
python -m py_compile ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py
|
||||
}
|
||||
|
||||
require python-${PYTHON_MAJMIN}-manifest.inc
|
||||
|
||||
Reference in New Issue
Block a user