All of lore.kernel.org
 help / color / mirror / Atom feed
* FILESEXTRAPATHS needs to be explained *way* better
@ 2012-12-06 21:59 Robert P. J. Day
  2012-12-06 22:25 ` Chris Larson
  0 siblings, 1 reply; 11+ messages in thread
From: Robert P. J. Day @ 2012-12-06 21:59 UTC (permalink / raw)
  To: Yocto discussion list


  first time digging into FILESPATH and .bbappend files, and i tested
the effect of setting something trivial to see what would happen:

FILESEXTRAPATHS_prepend := "rday"

did this for "netbase" in meta-ti layer, and checked the resulting
value of FILESPATH and (nicely formatted so you can read it), i got:

FILESPATH="rday/linux-gnueabi
rday/arm
rday/build-linux
rday/pn-netbase
rday/beagleboard
rday/omap3
rday/armv7a
rday/
rday/class-target
rday/forcevariable
rday/libc-glibc
rday/
/home/rpjday/OE/dist/layers/oe-core/meta/recipes-core/netbase/netbase-5.0/linux-gnueabi
/home/rpjday/OE/dist/layers/oe-core/meta/recipes-core/netbase/netbase-5.0/arm
/home/rpjday/OE/dist/layers/oe-core/meta/recipes-core/netbase/netbase-5.0/build-linux
/home/rpjday/OE/dist/layers/oe-core/meta/recipes-core/netbase/netbase-5.0/pn-netbase
... snip ...

  that is totally *not* what i expected given the explanation of that
variable in the current docs (unless i've missed it).  obviously,
FILESEXTRAPATHS doesn't just add individual directories to FILESPATH
-- it processes and adds based on OVERRIDES, which is fine but that's
not at all obvious.

  in addition, there is absolutely no need to add a ":" to the value
as the processing adds that for you, so the many, many examples of

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

is potentially confusing to folks reading the code.  (that trailing
":" doesn't hurt, but it has no value.)

  at what point is this variable explained in detail?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


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

end of thread, other threads:[~2012-12-07 14:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-06 21:59 FILESEXTRAPATHS needs to be explained *way* better Robert P. J. Day
2012-12-06 22:25 ` Chris Larson
2012-12-06 22:32   ` Robert P. J. Day
2012-12-06 22:35     ` Chris Larson
2012-12-06 23:16       ` Robert P. J. Day
2012-12-06 23:24         ` Chris Larson
2012-12-07 13:04           ` Robert P. J. Day
2012-12-07 13:59             ` Paul Eggleton
2012-12-07 14:05               ` Robert P. J. Day
2012-12-06 22:49     ` Gary Thomas
2012-12-06 22:53       ` Chris Larson

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.