[oe] [RFC] Fix uImage generation in way compatible with kernel.bbclass

Graeme Gregory dp at xora.org.uk
Wed Nov 28 14:32:06 UTC 2007


Koen Kooi wrote:
> Graeme Gregory schreef:
>> I would like to do the attached patch to linux.inc to change uImage
>> generation so it is compatible with the way kernel.bbclass does things.
> 
>> This means the uImage ends up in kernel-image not some random file
>> called uImage but not really a uImage.
> 
>> koen said the do_install_prepend stuff was to work around vendor bugs
>> and is no longer needed in this file.
> 
> Looks good, except for these bits of collateral damage:
> 
> -        if test -e arch/${ARCH}/boot/images/uImage ; then
> -             ln -f arch/${ARCH}/boot/images/uImage
> arch/${ARCH}/boot/uImage
> 
> The above is needed for various powerpc/ppc boards, and the below is
> needed for at least blackfin:
> 
> -        if test -e arch/${ARCH}/kernel/vmlinux.lds ; then
> -             ln -f arch/${ARCH}/kernel/vmlinux.lds
> arch/${ARCH}/boot/vmlinux
> 
> The linux kernel doesn't seem to have a strict policy on image placement
> and various vendor patches aren't exactly helping the situation :/
> 
Ok, I misunderstood you and thought they were all not needed lines, I
shall restore these two then.

Graeme





More information about the Openembedded-devel mailing list