All of lore.kernel.org
 help / color / mirror / Atom feed
* Please explain the logic on the MACHINEOVERRIDES ordering for meta-fsl-ppc:qoriq
@ 2015-02-11 17:20 Bob Cochran
  2015-02-13  0:53 ` Otavio Salvador
  0 siblings, 1 reply; 2+ messages in thread
From: Bob Cochran @ 2015-02-11 17:20 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

Hi,

For the past few months, I have patched out the way meta-fsl-ppc qoriq 
constructs MACHINEOVERRIDES because I don't see the logic in it.  It's 
my preference that the overrides I set for my specific machine (e.g., 
p1010rdb, t1040rdb, or custom-machine) are found over the default 
overrides in meta-fsl-ppc (e.g., init-ifupdown/qoriq-ppc/interfaces).

By default, if I set "p1010rdb" as the MACHINE in local.conf I get:

MACHINEOVERRIDES="p1010:p1010rdb:qoriq-ppc:e500v2"

As you know, FILESPATH is in part built by using MACHINEOVERRIDES and 
the path is built working right to left, so a file in an e500v2 override 
is found before one under p1010rdb.

Shouldn't the more specific override be to the right?

I would think we want to produce the following:

MACHINEOVERRIDES="e500v2:qoriq-ppc:p1010:p1010rdb"

If I'm wrong, please help me to understand why.

If there is agreement, then I would like to submit patches to change the 
meta-fsl-ppc conf files.

Thanks

Bob



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

end of thread, other threads:[~2015-02-13  0:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-11 17:20 Please explain the logic on the MACHINEOVERRIDES ordering for meta-fsl-ppc:qoriq Bob Cochran
2015-02-13  0:53 ` Otavio Salvador

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.