diff options
author | Ross Burton <ross.burton@intel.com> | 2016-09-07 15:05:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-08 00:32:43 +0100 |
commit | 23ec1fcfa4c2b71ed0c3624c1cec4592fd6aa658 (patch) | |
tree | a0958cad14a1cacf79af997f3cd417faf6d70aee /meta/recipes-devtools/python | |
parent | d41968d8a8bd572b2892762f7092868950465014 (diff) | |
download | poky-23ec1fcfa4c2b71ed0c3624c1cec4592fd6aa658.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.12.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.12.bb b/meta/recipes-devtools/python/python_2.7.12.bb index 3ee1e38b66..65b571719b 100644 --- a/meta/recipes-devtools/python/python_2.7.12.bb +++ b/meta/recipes-devtools/python/python_2.7.12.bb | |||
@@ -132,6 +132,7 @@ py_package_preprocess () { | |||
132 | sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \ | 132 | sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \ |
133 | ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \ | 133 | ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \ |
134 | ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py | 134 | ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py |
135 | python -m py_compile ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py | ||
135 | } | 136 | } |
136 | 137 | ||
137 | require python-${PYTHON_MAJMIN}-manifest.inc | 138 | require python-${PYTHON_MAJMIN}-manifest.inc |