[OE-core] [PATCH 5/8] python: fix install when libdir is not "lib"

Kamble, Nitin A nitin.a.kamble at intel.com
Thu Mar 15 16:06:05 UTC 2012



> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
> Martin Jansa
> Sent: Thursday, March 15, 2012 12:19 AM
> To: Patches and discussions about the oe-core layer
> Subject: Re: [OE-core] [PATCH 5/8] python: fix install when libdir is
> not "lib"
> 
> On Wed, Mar 14, 2012 at 07:02:14PM -0700, nitin.a.kamble at intel.com
> wrote:
> > From: Nitin A Kamble <nitin.a.kamble at intel.com>
> >
> > This commit fixes python's install issue of not finding the native
> > pythong binray modules.
> >
> > Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> > ---
> >  .../python/fix_for_using_different_libdir.patch    |   78
> ++++++++++++++++++++
> >  meta/recipes-devtools/python/python_2.7.2.bb       |    3 +-
> >  2 files changed, 80 insertions(+), 1 deletions(-)  create mode
> 100644
> > meta/recipes-
> devtools/python/python/fix_for_using_different_libdir.pat
> > ch
> >
> > diff --git a/meta/recipes-devtools/python/python_2.7.2.bb
> > b/meta/recipes-devtools/python/python_2.7.2.bb
> > index d2100be..412b294 100644
> > --- a/meta/recipes-devtools/python/python_2.7.2.bb
> > +++ b/meta/recipes-devtools/python/python_2.7.2.bb
> > @@ -20,7 +20,7 @@ SRC_URI += "\
> >    file://setup_py_skip_cross_import_check.patch \
> >    file://add-md5module-support.patch \
> >    file://host_include_contamination.patch \
> > -  file://sys_platform_is_now_always_linux2.patch \
> > +  file://fix_for_using_different_libdir.patch \
> 
> ^ really?

Martin,
Removing a patch was an accident. It is getting fixed now. Thanks for catching it.

Nitin

> 
> >  "
> >
> >  S = "${WORKDIR}/Python-${PV}"
> > @@ -99,6 +99,7 @@ do_install() {
> >
> >  	oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
> >  		HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
> > +
> > +CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-
> d
> > +ynload/ \
> >  		STAGING_LIBDIR=${STAGING_LIBDIR} \
> >  		STAGING_INCDIR=${STAGING_INCDIR} \
> >  		BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
> 
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com




More information about the Openembedded-core mailing list