[Openembedded-users] compiling a uImage or a zImage
A L
atl19711 at gmail.com
Wed Feb 9 17:24:18 UTC 2011
On Wed, Feb 9, 2011 at 11:56 AM, Charles Krinke
<charles.krinke at gmail.com> wrote:
>
> I have a working OE installation that will bitbake linux and it creates a vmlinux and a fitImage for a PPC8323. I am puzzling over how to create (or modify) a recipe to make a uImage and a zImage.
>
>
Have a look at openembedded/classes/kernel.bbclass
If not defined then the variable KERNEL_IMAGETYPE will be zImage and
kernel is built for that:
KERNEL_IMAGETYPE ?= "zImage"
You can change that by using something like this in your conf chain:
KERNEL_IMAGETYPE = "uImage"
I get the useful stuff from kernel_do_compile() in kernel.bbclass
which ultimately invokes:
oe_runmake ${KERNEL_IMAGETYPE} CC="${KERNEL_CC}" LD="${KERNEL_LD}"
atl
More information about the Openembedded-users
mailing list