All of lore.kernel.org
 help / color / mirror / Atom feed
* Questioning FILESOVERRIDES implied precedence in setting FILESPATH...
@ 2014-12-01  6:00 Bob Cochran
  2014-12-01 16:56 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Cochran @ 2014-12-01  6:00 UTC (permalink / raw)
  To: Yocto discussion list

Hi,

In poky master, FILESOVERRIDES is constructed as follows:

"${TRANSLATED_TARGET_ARCH}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}"

For my current build, I get:

FILESOVERRIDES="powerpc:custom-machine:e500v2:qoriq-ppc:poky"

FILESPATH is built by calling base_set_filespath(), which is in 
utils.bbclass

This function constructs FILESPATH in such a way that the distro folder 
("poky") comes before the other overrides ( precedence is applied right 
to left using FILESOVERRIDES )

I see that there was a patch to reverse the ordering back in Oct of 2013 
(0bd63125c3b44) to make sure MACHINE overrides had precedence over 
platform specific overrides.  However, I'm wondering if the intent was 
to have the distro override both.  This doesn't make sense to me, so 
please clarify whether this is correct.  If it is, please explain why 
distro gets a higher precedence over machine.

Thanks,

Bob




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

end of thread, other threads:[~2014-12-01 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-01  6:00 Questioning FILESOVERRIDES implied precedence in setting FILESPATH Bob Cochran
2014-12-01 16:56 ` Richard Purdie
2014-12-01 17:54   ` Bob Cochran

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.