All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] do we really need all OVERRIDES in FILESPATH?
@ 2010-10-17 21:15 Martin Jansa
  2010-10-18  7:21 ` Koen Kooi
  2010-10-18  7:33 ` Frans Meulenbroeks
  0 siblings, 2 replies; 6+ messages in thread
From: Martin Jansa @ 2010-10-17 21:15 UTC (permalink / raw)
  To: openembedded-devel

Currently
bitbake -e -b xserver-xorg-conf_0.1.bb | grep ^FILESPATH= | sed "s/:/\n/g" | wc -l
shows 65 directories where file:// from SRC_URI can be found.

base_do_unpack is looking for first directory where requested file
exists. Most files are IMHO found in FILESPATHPKG PN, files or P
(without an override used)

Number of directories tried before
PN:    38
files: 51
P:     25

I see many recipes really using that MACHINE or DISTRO is in FILESPATH,
few users of TARGET_ARCH and quick find/grep doesn't show any users of 
other OVERRIDES in FILESPATH.

BTW: ie initscripts have initscripts/files/arm/alignment.sh but that's only
alignment.sh and SRC_URI_append_arm = " file://alignment.sh" would work
ok even without arm in FILESPATH.

What about using only ${TARGET_ARCH}:${DISTRO}:${MACHINE} in FILESPATH
instead all OVERRIDES?

And if there is need to use some special OVERRIDE then recipe can use
SRC_URI_append_override.

Number of directories tried before
PN:    11
files: 15
P:      7
end:   20

If I'm overlooking other usages of FILESPATH or if this I/O saving is
not worth it, let me know.

Regards,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



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

end of thread, other threads:[~2010-10-18 10:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-17 21:15 [RFC] do we really need all OVERRIDES in FILESPATH? Martin Jansa
2010-10-18  7:21 ` Koen Kooi
2010-10-18 10:17   ` Richard Purdie
2010-10-18 10:29     ` Frans Meulenbroeks
2010-10-18  7:33 ` Frans Meulenbroeks
2010-10-18  7:43   ` Martin Jansa

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.