[PATCH v9 3/7] env: Allow U-Boot scripts to be placed in a .env file
Tom Rini
trini at konsulko.com
Thu Oct 21 17:18:35 CEST 2021
On Thu, Oct 21, 2021 at 05:12:26PM +0200, Wolfgang Denk wrote:
> Dear Marek,
>
> In message <20211021152831.15524883 at thinkpad> you wrote:
> >
> >
> > > I think =+ will confuse far more people than + as last character of var
>
> I still fail to see why '=+' could be confusing if properly
> documented to be the append operator.
>
> I mean, it is not a new invention of mine.
>
> OpenEmbedded / Yocto uses '=+' a lot, like in
>
> meta/recipes-kernel/dtc/dtc.inc:
>
> PACKAGES =+ "${PN}-misc"
>
> Actually they use both '+=' and '=+', like
>
> RESULT+=${ERRORS}
The OE example is exactly why I want to avoid =+. You cannot
interchangeably use += and =+ as they evaluate differently. See
https://www.yoctoproject.org/docs/3.1/bitbake-user-manual/bitbake-user-manual.html#appending-and-prepending
and that =+ there is the opposite of what we want. So, more confusion.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211021/84c72425/attachment.sig>
More information about the U-Boot
mailing list