[OE-core] [PATCHv2] cmake: Avoid passing empty prefix to os.path.relpath

Burton, Ross ross.burton at intel.com
Mon Dec 11 13:45:26 UTC 2017


It was implicated in some build failures.  I'll re-add it and try again.

Ross

On 11 December 2017 at 09:51, Mike Crowe <mac at mcrowe.com> wrote:

> On Monday 13 November 2017 at 15:15:35 -0200, Otavio Salvador wrote:
> > On Sun, Nov 12, 2017 at 2:39 PM, Mike Crowe <mac at mcrowe.com> wrote:
> > > With meta-micro, ${prefix} is the empty string. This means that
> > > CMAKE_INSTALL_BINDIR:PATH and friends end up containing paths starting
> with
> > > many instances of "../", presumably due to os.path.relpath attempting
> to
> > > find its way to the current directory.
> > >
> > > Let's avoid this by ensuring that the root path always ends in a
> slash. If
> > > it already ends in a slash then adding another one shouldn't cause any
> > > problems.
> > >
> > > Signed-off-by: Mike Crowe <mac at mcrowe.com>
> >
> > Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
>
> Patch ID: 145709
>
> It doesn't look like this change has landed, even on master-next. Has it
> fallen through the cracks?
>
> Thanks.
>
> Mike.
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171211/50a13047/attachment-0002.html>


More information about the Openembedded-core mailing list