Re: [yocto] Using anonymous python function to define variables

2014-12-15 Thread Paul Eggleton
On Friday 12 December 2014 16:19:39 Ulf Winberg wrote: > Thanks! Using python as a function with return value solved it. Great! > When bb.parse.SkipPackage is used, there seems to be no warning when > building. Does the text I wrote end up in a log somewhere? SkipPackage (or SkipRecipe which sh

Re: [yocto] Using anonymous python function to define variables

2014-12-12 Thread Ulf Winberg
Thanks! Using python as a function with return value solved it. When bb.parse.SkipPackage is used, there seems to be no warning when building. Does the text I wrote end up in a log somewhere? I was testing the SOMEVAR example you give. Am I right to assume that the overrides only works for gobal

Re: [yocto] Using anonymous python function to define variables

2014-12-08 Thread Paul Eggleton
Hi Ulf, On Sunday 07 December 2014 12:22:06 Ulf Winberg wrote: > I'm struggling with trying to dynamically set a file name, to be used with > "require". See code below: > > python () { >TA = d.getVar('TARGET_ARCH', True) >if TA == "arm": >javaPkg = "oracle-jse-ejre