[OE-core] [PATCH 4/7] kernel: Pull uImage generation into separate class
Marek Vasut
marex at denx.de
Wed Oct 22 20:51:52 UTC 2014
On Monday, October 20, 2014 at 12:26:04 PM, Koen Kooi wrote:
> > Op 19 okt. 2014, om 21:15 heeft Marek Vasut <marex at denx.de> het volgende
> > geschreven:
> >
> > Pull the uImage image format generation from kernel.bbclass into
> > a separate kernel-uimage.bbclass. The recipes which now need to
> > generate an uImage will have to inherit kernel-uimage instead of
> > kernel class.
>
> To keep backward compatibility, could you rework this into something like:
>
> kernel.bbclass:
> inherit kernel-${KERNEL_IMAGETYPE}
>
> kernel-${KERNEL_IMAGETYPE}:
> inherit kernel-base
> imagetype stuff
>
> kernel-base:
> old kernel.bbclass stuff
>
> That would keep existing BSPs working *and* split out the image types.
There are multiple KERNEL_IMAGETYPE options than just uImage, so I will change
the kernel.bbclass like so instead:
kernel.bbclass:
inherit kernel-base
inherit kernel-uimage
This will keep the BSPs working and then the new imagetypes (not fitImage,
since fitImage will inherit kernel-uimage) will do this:
kernel-${KERNEL_IMAGETYPE).bbclass:
inherit kernel-base
imagetype stuff
Does this make sense please ?
[...]
Best regards,
Marek Vasut
More information about the Openembedded-core
mailing list