[yocto] is it possible to centralize defns of KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE?
Robert P. J. Day
rpjday at crashcourse.ca
Wed Mar 21 06:33:10 PDT 2012
poking around the conf files and i noticed the following two files
(one from oe-core, obviously) had the following definitions:
$ grep -r KERNEL.*IMAGETYPE.*vmlinux *
meta/conf/machine/qemumips.conf:KERNEL_IMAGETYPE = "vmlinux"
meta/conf/machine/qemumips.conf:KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
... snip ppc line ...
meta-yocto/conf/machine/routerstationpro.conf:KERNEL_IMAGETYPE = "vmlinux"
meta-yocto/conf/machine/routerstationpro.conf:KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
$
obviously, the above represents the MIPS architecture in both cases
and, unsurprisingly, assign the same values to those variables.
since both of those files contain the line:
require conf/machine/include/tune-mips32.inc
under what circumstances could you move those common lines down into
the corresponding tune-<arch>.inc file? i know next to nothing about
MIPS cross-compiling so i have no idea whether that's feasible, or
whether it's reasonable to set default values and let the BSP override
them.
does this question make any sense?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the yocto
mailing list