Re: [yocto] Bitbake immediate assignment behavior

2020-01-30 Thread Alexandru N. Onea
Hi Richard, Thank you for the clarification. I am definitely not in a position to make any suggestions regarding how bitbake should behave, however I would like to at least give my view: * to me, the reason for having an immediate assignment seems to be related (among others, maybe) to the fa

Re: [yocto] Bitbake immediate assignment behavior

2020-01-30 Thread Richard Purdie
Hi, On Thu, 2020-01-30 at 13:32 +0200, Alexandru N. Onea wrote: > Let's consider the following example in a bb file: > > X = "1" > A := "X is '${X}' and Y is '${Y}'" > B = "X is '${X}' and Y is '${Y}'" > X = "2" > Y = "3" > > According to the bitbake user manual, section 3.1.7 [1], the expected

[yocto] Bitbake immediate assignment behavior

2020-01-30 Thread Alexandru N. Onea
Hello community, Let's consider the following example in a bb file: X = "1" A := "X is '${X}' and Y is '${Y}'" B = "X is '${X}' and Y is '${Y}'" X = "2" Y = "3" According to the bitbake user manual, section 3.1.7 [1], the expected values for A and B after parsing is done, are A="X is '1' and Y