* any necessity for MACHINEOVERRIDES in mpc8315e-rdb.conf?
@ 2017-03-16 11:23 Robert P. J. Day
2017-03-16 12:35 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2017-03-16 11:23 UTC (permalink / raw)
To: OE Core mailing list
(yet more pedantry, but when i try to explain stuff like this to
students, it's nice to know what i'm talking about.)
i notice the following excerpts from YP's mpc8315e-rdb.conf:
KERNEL_IMAGETYPE = "uImage"
UBOOT_MACHINE_mpc8315e-rdb = "MPC8315ERDB_config"
KERNEL_DEVICETREE = "mpc8315erdb.dtb"
what is the purpose (if any) for the "mpc8315e-rdb" override in the
line:
UBOOT_MACHINE_mpc8315e-rdb = "MPC8315ERDB_config"
^^^^^^^^^^^^^
given that this is a machine config file for a specific target,
"mpc8315e-rdb", wouldn't this suffice?
UBOOT_MACHINE = "MPC8315ERDB_config"
of course, having that MACHINEOVERRIDES wouldn't hurt, but it seems
superfluous, and it's also inconsistent with other variable settings
in that file that don't use it, which is *exactly* what confuses the
heck out of beginners.
thoughts? am i missing something? other machine config files don't
seem to need it:
UBOOT_MACHINE = "am335x_boneblack_config"
rday
p.s. i apologize for being such an annoying pedant all the time, but
little inconsistencies like this are exactly what some of my students
notice, and ask about, and i end up looking at it, going, "i haven't
the foggiest idea what the heck that's all about." hence my obsession
with consistency.
--
========================================================================
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] 2+ messages in thread
* Re: any necessity for MACHINEOVERRIDES in mpc8315e-rdb.conf?
2017-03-16 11:23 any necessity for MACHINEOVERRIDES in mpc8315e-rdb.conf? Robert P. J. Day
@ 2017-03-16 12:35 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2017-03-16 12:35 UTC (permalink / raw)
To: Robert P. J. Day, OE Core mailing list
On Thu, 2017-03-16 at 07:23 -0400, Robert P. J. Day wrote:
> (yet more pedantry, but when i try to explain stuff like this to
> students, it's nice to know what i'm talking about.)
>
> i notice the following excerpts from YP's mpc8315e-rdb.conf:
>
> KERNEL_IMAGETYPE = "uImage"
> UBOOT_MACHINE_mpc8315e-rdb = "MPC8315ERDB_config"
> KERNEL_DEVICETREE = "mpc8315erdb.dtb"
>
> what is the purpose (if any) for the "mpc8315e-rdb" override in the
> line:
>
> UBOOT_MACHINE_mpc8315e-rdb = "MPC8315ERDB_config"
> ^^^^^^^^^^^^^
>
> given that this is a machine config file for a specific target,
> "mpc8315e-rdb", wouldn't this suffice?
>
> UBOOT_MACHINE = "MPC8315ERDB_config"
I suspect this would be fine, yes.
Cheers,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-16 12:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-16 11:23 any necessity for MACHINEOVERRIDES in mpc8315e-rdb.conf? Robert P. J. Day
2017-03-16 12:35 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox