All of lore.kernel.org
 help / color / mirror / Atom feed
* style question about assigning to FILES_${PN}
@ 2021-04-06 16:28 Robert P. J. Day
  2021-04-06 21:32 ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2021-04-06 16:28 UTC (permalink / raw)
  To: OE Core mailing list


  i've seen a number of recipes bounce around between these variations
of adding an entire directory to a package's files:

  FILES_${PN} = "dir"
  FILES_${PN} = "dir/"
  FILES_${PN} = "dir/*"

first, i'm assuming all of the above mean exactly the same thing, yes?
that the entire directory, recursively, is being added. i ask since
even the stock OE bitbake.conf seems to jump around in the space of a
few lines:

  FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
            ${sysconfdir} ${sharedstatedir} ${localstatedir} \
            ${base_bindir}/* ${base_sbindir}/* \
            ... etc etc ...

hang on, what about hidden objects in the immediate subdirectory?
based on normal wildcarding, would the first two variants include
hidden files, while the third would not?

rday

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [OE-core] style question about assigning to FILES_${PN}
  2021-04-06 16:28 style question about assigning to FILES_${PN} Robert P. J. Day
@ 2021-04-06 21:32 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2021-04-06 21:32 UTC (permalink / raw)
  To: Robert P. J. Day, OE Core mailing list

On Tue, 2021-04-06 at 12:28 -0400, Robert P. J. Day wrote:
>   i've seen a number of recipes bounce around between these variations
> of adding an entire directory to a package's files:
> 
>   FILES_${PN} = "dir"
>   FILES_${PN} = "dir/"
>   FILES_${PN} = "dir/*"
> 
> first, i'm assuming all of the above mean exactly the same thing, yes?

I don't think they do mean the same thing, no. I think some patch
all files in a directory and some match recursively.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-06 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06 16:28 style question about assigning to FILES_${PN} Robert P. J. Day
2021-04-06 21:32 ` [OE-core] " Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.