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

2019-06-11 Thread Mike Crowe
On Saturday 06 January 2018 at 20:16:18 +, Mike Crowe wrote: > https://patchwork.openembedded.org/patch/145709/ > > On Wednesday 20 December 2017 at 10:28:22 +, Mike Crowe wrote: > > On Monday 11 December 2017 at 13:45:26 +, Burton, Ross wrote: > > > It was implicated in some build fai

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

2018-01-06 Thread Mike Crowe
https://patchwork.openembedded.org/patch/145709/ On Wednesday 20 December 2017 at 10:28:22 +, Mike Crowe wrote: > On Monday 11 December 2017 at 13:45:26 +, Burton, Ross wrote: > > It was implicated in some build failures. I'll re-add it and try again. > > Thanks. Are the new results in?

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

2017-12-20 Thread Mike Crowe
On Monday 11 December 2017 at 13:45:26 +, Burton, Ross wrote: > It was implicated in some build failures. I'll re-add it and try again. Thanks. Are the new results in? I had a poke about on autobuilder.yocto.io but couldn't work out how to tell which builds this commit was included in. Build

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

2017-12-11 Thread Burton, Ross
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 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 wrote: > > > With meta-micro, ${prefix} is the em

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

2017-12-11 Thread Mike Crowe
On Monday 13 November 2017 at 15:15:35 -0200, Otavio Salvador wrote: > On Sun, Nov 12, 2017 at 2:39 PM, Mike Crowe 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 "../",

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

2017-11-13 Thread Otavio Salvador
On Sun, Nov 12, 2017 at 2:39 PM, Mike Crowe 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 curren

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

2017-11-12 Thread Mike Crowe
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 pat