[OE-core] [PATCH] cmake: install path variables should be relative to the prefix path

Jack Mitchell ml at embed.me.uk
Mon Aug 22 13:48:41 UTC 2016


On 22/08/16 14:24, Burton, Ross wrote:
>
> On 22 August 2016 at 14:23, Jack Mitchell <ml at embed.me.uk
> <mailto:ml at embed.me.uk>> wrote:
>
>     On second thoughts this isn't doing quite what I expected, how would
>     one remove the prefix from a variable when it's expanded in this manner?
>
>
> You curse cmake for needing install paths to be relative to the prefix?
>
> Ross

That was last weeks agenda ;)

Could it be done with some inline python? I'm really not all that clued 
up on which variables are available when and where to be manipulated. I 
was thinking something along the lines of

${@d.getVar('bindir').replace(d.getVar('prefix', ''))}

However, this just breaks spectacularly.



More information about the Openembedded-core mailing list