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

2014-12-12 Thread Ulf Winberg
variables, already defined elsewhere? I was not able to define one myself and use the overrides. Cheers, Ulf On Mon, Dec 8, 2014 at 10:41 AM, Paul Eggleton paul.eggle...@linux.intel.com wrote: Hi Ulf, On Sunday 07 December 2014 12:22:06 Ulf Winberg wrote: I'm struggling with trying

[yocto] Using anonymous python function to define variables

2014-12-07 Thread Ulf Winberg
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-arm-vfp-hflt-client-headless elif TA == i586: javaPkg =