Hi,
I am using python function as below
python __anonymous () {
origenv = d.getVar("BB_ORIGENV", False)
. . .
}
Thanks,
Abhinav
-----Original Message-----
From: Paul Eggleton [mailto:[email protected]]
Sent: Monday, February 16, 2015 23:10
To: Bipnesh, Abhinav (Abhinav)
Cc: [email protected]
Subject: Re: [yocto] Graceful continue if some recipe has error
Hi Abhinav,
On Monday 16 February 2015 17:05:32 Bipnesh, Abhinav wrote:
> We have written recipe for our application which reads some
> environment variables and follow a path. But if these variables are
> not set then recipe parsing results into error. So I was looking if we
> can have some way for a graceful continuation. As we want if those
> variables are set then it bitbake should continue with rest of
> building. So is there way we can achieve the same.
Depends, how are you reading the variables? From python or shell?
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto