On 22/08/16 14:24, Burton, Ross wrote:

On 22 August 2016 at 14:23, Jack Mitchell <[email protected]
<mailto:[email protected]>> 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.
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to