Re: Best convention for FILES variable


Robert P. J. Day
 

On Sat, 21 Nov 2020, Chuck Wolber wrote:



On Sat, Nov 21, 2020 at 12:21 AM Chuck Wolber <chuckwolber@...> wrote:

%< SNIP %<
 
And finally, I have adjusted to using the following pattern, and found that it
has improved maintainability a great deal. It applies to DEPENDS and RDEPENDS
as well. Yes, it is a bit tedious, but the benefits far outweigh the cost
(IMHO).

FILES_fooz += " lib/foozlib.so"
FILES_fooz += " /usr/lib/foozlib-2.so"
FILES_fooz += " /usr/bin/fooz"
FILES_fooz += " /bin/fooz"
FILES_fooz += " /usr/share/fooz"
pedantically speaking, since you're using "+=", you don't need those
leading spaces.

rday

Join yocto@lists.yoctoproject.org to automatically receive all group messages.