[OE-core] [PATCH] default-distrovars: set default KERNEL_IMAGETYPE(S)

Andre McCurdy armccurdy at gmail.com
Thu Mar 29 23:36:42 UTC 2018


On Thu, Mar 29, 2018 at 4:19 PM, California Sullivan
<california.l.sullivan at intel.com> wrote:
> With the change from assuming kernels will be named "vmlinuz"
> everywhere, to instead using KERNEL_IMAGETYPE, we require that
> KERNEL_IMAGETYPE is set to something. Instead of setting the default in
> multiple individual files, set it in default-distrovars.inc.
>
> Also set KERNEL_IMAGETYPES, as we will eventually be switching away from
> KERNEL_IMAGETYPE.
>
> Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
> +
> +KERNEL_IMAGETYPE ??= "bzImage"

Isn't bzImage x86 specific? Setting it as the default also disagrees
with meta/conf/documentation.conf:

  KERNEL_IMAGETYPE[doc] = "The type of kernel to build for a device,
usually set by the machine configuration files and defaults to
'zImage'."

It might be nice to have an arch specific default (e.g. bzImage for
x86, vmlinux for MIPS and zImage for everything else?).



More information about the Openembedded-core mailing list