On Tue, Jul 21, 2020 at 2:26 PM Robert P. J. Day <[email protected]> wrote:
>
> pursuant to cleaning up some docs and tweaking the style guide,
> i just want to clarify that the *proper* assignment to DEPENDS
> in recipe files is:
>
>    DEPENDS = "..."
>
> unless (of course) that assignment is preceded by a "require"
> of a .inc file that assigns to that variable, whereupon the "+="
> would make sense.
>
>    other than that, though, can i assume there is no rationale
> for "DEPENDS += ..." in terms of coding style? (being a minimalist,
> i hate extraneous operators.)

Wasn't the same question asked recently about PROVIDES? I think the
ruling there was that += is the "proper" assignment. Is there a
rationale for treating them differently?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140845): 
https://lists.openembedded.org/g/openembedded-core/message/140845
Mute This Topic: https://lists.openembedded.org/mt/75713204/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to