Re: [yocto] pedantic nitpickery: coding style with "FILESEXTRAPATHS:prepend"

Leon Woestenberg <[email protected]>
Newsgroups org.yoctoproject.lists.yocto
Message-ID <CAMjhiJibGPcqNB2ERP=Gxo44VTqnW+BXxQ8HjBOjHemQ_pjmJQ@mail.gmail.com>
On Tue, Oct 28, 2025 at 12:37 PM Robert P. J. Day via
lists.yoctoproject.org <[email protected]>
wrote:
>
>   (spoiler: turns out this is fine, but it's non-intuitive)
> arm-ffa-transport.inc:FILESEXTRAPATHS:prepend := "${ARMFILESPATHS}"
> linux-yocto%.bbappend:ARMFILESPATHS := "${THISDIR}/files:"

Indeed, I would have written this, as the trailing double colon is
needed in the prepend context of using the variable.

arm-ffa-transport.inc:FILESEXTRAPATHS:prepend := "${ARMFILESPATHS}:"
linux-yocto%.bbappend:ARMFILESPATHS := "${THISDIR}/files"

But as you said, it works, so that's typically enough barrier to keep as-is.

Leon.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.