[yocto] Undefining a variable in a recipe?

Otavio Salvador otavio at ossystems.com.br
Fri May 2 05:56:47 PDT 2014


On Fri, May 2, 2014 at 2:24 AM, Alex J Lennon
<ajlennon at dynamicdevices.co.uk> wrote:
...
> So I guess I'm at the point where I'm wondering if a getVar() with a
> flag is behaving as you would expect it to,
> or how I might go about ensuring either UBOOT_MACHINE or UBOOT_CONFIG
> isn't defined?
>
> Thanks in advance for any advice,

I think we have a simple error error. You are mixing a recipe, which
is old and a metadata layer with new concepts.

The u-boot-imx, in 2009.08 recipe, used to set the UBOOT_MACHINE in
the recipe as it was left as a fallback in case user needed it and the
value was different from newer releases.

In your case, the easier is to make a new yourmachine.conf and use the
UBOOT_CONFIG or UBOOT_MACHINE setting there so it will work just fine.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the yocto mailing list