Re: [OE-core] [PATCH 1/9] distutils: Consider S != B case

2016-02-10 Thread Khem Raj
> On Feb 10, 2016, at 10:54 AM, Phil Blundell wrote: > > On Wed, 2016-02-10 at 17:43 +, Khem Raj wrote: >> +cwd=$PWD;cd ${S} >> +STAGING_INCDIR=${STAGING_INCDIR} \ >> +STAGING_LIBDIR=${STAGING_LIBDIR} \ >> +BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ >> +

Re: [OE-core] [PATCH 1/9] distutils: Consider S != B case

2016-02-10 Thread Phil Blundell
On Wed, 2016-02-10 at 17:43 +, Khem Raj wrote: > +cwd=$PWD;cd ${S} > +STAGING_INCDIR=${STAGING_INCDIR} \ > +STAGING_LIBDIR=${STAGING_LIBDIR} \ > +BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ > +${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} >

Re: [OE-core] [PATCH 1/9] distutils: Consider S != B case

2016-02-10 Thread Khem Raj
> On Feb 10, 2016, at 10:29 AM, Richard Purdie > wrote: > > On Wed, 2016-02-10 at 17:43 +, Khem Raj wrote: >> out of tree builds can break the assumption about setup.py being in >> the >> current directory, seen especially with devtool when using >> externalsrc >> many python modules cant b

Re: [OE-core] [PATCH 1/9] distutils: Consider S != B case

2016-02-10 Thread Richard Purdie
On Wed, 2016-02-10 at 17:43 +, Khem Raj wrote: > out of tree builds can break the assumption about setup.py being in > the > current directory, seen especially with devtool when using > externalsrc > many python modules cant build since it cant find setup.py in devtool > workspace > > Signed-o

[OE-core] [PATCH 1/9] distutils: Consider S != B case

2016-02-10 Thread Khem Raj
out of tree builds can break the assumption about setup.py being in the current directory, seen especially with devtool when using externalsrc many python modules cant build since it cant find setup.py in devtool workspace Signed-off-by: Khem Raj --- meta/classes/distutils.bbclass | 27