multilib header support for python
v2 cover multilib header support for python
Added multilib header support for python, so that lib32-python and python won't have conflicting file pyconfig.h.
The following changes since commit 1a82989345fb98becb487d270fd93a5e6dffeb47:
Saul Wold (1):
runqemu-internal: Add console=tty for qemuppc and NFS
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib llu/multilib2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=llu/multilib2
Lianhao Lu (1):
python: multilib header support.
.../python/python-2.7-manifest.inc | 2 +- meta/recipes-devtools/python/python.inc | 2 +- meta/recipes-devtools/python/python_2.7.2.bb | 4 +++- scripts/contrib/python/generate-manifest-2.7.py | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-)
PATCH v2 1/1 python: multilib header support.
Add intercept multilib header for pyconfig.h in python. This is part of the bug fixing [YOCTO #2216].
--- .../python/python-2.7-manifest.inc | 2 +- meta/recipes-devtools/python/python.inc | 2 +- meta/recipes-devtools/python/python_2.7.2.bb | 4 +++- scripts/contrib/python/generate-manifest-2.7.py | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-)
meta/recipes-devtools/python/python-2.7-manifest.inc +1 -1
@@ -40,7 +40,7 @@ FILES_${PN}-compression="${libdir}/python2.7/gzip.* ${libdir}/python2.7/zipfile. DESCRIPTION_${PN}-core="Python Interpreter and core modules (needed!)" RDEPENDS_${PN}-core="${PN}-lang ${PN}-re" FILES_${PN}-core="${libdir}/python2.7/__future__.* ${libdir}/python2.7/_abcoll.* ${libdir}/python2.7/abc.* ${libdir}/python2.7/copy.* ${libdir}/python2.7/copy_reg.* ${libdir}/python2.7/ConfigParser.* ${libdir}/python2.7/genericpath.* ${libdir}/python2.7/getopt.* ${libdir}/python2.7/linecache.* ${libdir}/python2.7/new.* ${libdir}/python2.7/os.* ${libdir}/python2.7/posixpath.* ${libdir}/python2.7/struct.* ${libdir}/python2.7/warnings.* ${libdir}/python2.7/site.* ${libdir}/python2.7/stat.* ${libdir}/python2.7/UserDict.* ${libdir}/python2.7/UserList.* ${libdir}/python2.7/UserString.* ${libdir}/python2.7/lib-dynload/binascii.so ${libdir}/python2.7/lib-dynload/_struct.so ${libdir}/python2.7/lib-dynload/time.so ${libdir}/python2.7/lib-dynload/xreadlines.so \ -${libdir}/python2.7/types.* ${libdir}/python2.7/platform.* ${bindir}/python* ${libdir}/python2.7/_weakrefset.* ${libdir}/python2.7/sysconfig.* ${libdir}/python2.7/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig.h ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py " +${libdir}/python2.7/types.* ${libdir}/python2.7/platform.* ${bindir}/python* ${libdir}/python2.7/_weakrefset.* ${libdir}/python2.7/sysconfig.* ${libdir}/python2.7/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py " DESCRIPTION_${PN}-crypt="Python Basic Cryptographic and Hashing Support" RDEPENDS_${PN}-crypt="${PN}-core"
meta/recipes-devtools/python/python.inc +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.python.org" LICENSE = "PSFv2" SECTION = "devel/python" # bump this on every change in contrib/python/generate-manifest-2.7.py -INC_PR = "r1" +INC_PR = "r2" LIC_FILES_CHKSUM = "file://LICENSE;md5=2dffb81509b47974467ea23409909b1c"
meta/recipes-devtools/python/python_2.7.2.bb +3 -1
@@ -25,7 +25,7 @@ SRC_URI += "\ S = "${WORKDIR}/Python-${PV}" -inherit autotools +inherit autotools multilib_header # The 3 lines below are copied from the libffi recipe, ctypes ships its own copy of the libffi sources #Somehow gcc doesn't set __SOFTFP__ when passing -mfloatabi=softp :(
@@ -110,6 +110,8 @@ do_install() { if [ -e ${WORKDIR}/sitecustomize.py ]; then install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN} fi + + oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h } SSTATE_SCAN_FILES += "Makefile"
scripts/contrib/python/generate-manifest-2.7.py +1 -1
@@ -169,7 +169,7 @@ if __name__ == "__main__": "lib-dynload/binascii.so lib-dynload/_struct.so lib-dynload/time.so " + "lib-dynload/xreadlines.so types.* platform.* ${bindir}/python* " + "_weakrefset.* sysconfig.* config/Makefile " + - "${includedir}/python${PYTHON_MAJMIN}/pyconfig.h " + + "${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h " + "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py ") m.addPackage( "${PN}-dev", "Python Development Package", "${PN}-core",
Signature · 1 line
1.7.0.4
Saul Wold
AppliedQuoted 22 lines · Lianhao Lu
Added multilib header support for python, so that lib32-python and python won't have conflicting file
pyconfig.h.The following changes since commit
1a82989345fb98becb487d270fd93a5e6dffeb47:
Saul Wold (1):
runqemu-internal: Add console=tty for qemuppc and NFSare available in the git repository at:
git://git.yoctoproject.org/poky-contribllu/multilib2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=llu/multilib2Lianhao Lu (1):
python: multilib header support..../python/python-2.7-manifest.inc | 2 +- meta/recipes-devtools/python/python.inc | 2 +- meta/recipes-devtools/python/python_2.7.2.bb | 4 +++- scripts/contrib/python/generate-manifest-2.7.py | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-)
Quoted 5 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Merged into OE-Core
Thanks
Sau!