[oe] [RFC] Fix uImage generation in way compatible with kernel.bbclass
Koen Kooi
k.kooi at student.utwente.nl
Wed Nov 28 13:43:26 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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 :/
regards,
Koen
- --
koen at dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi at student.utwente.nl instead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFHTXB+MkyGM64RGpERAnEUAJ9pzhdplIFn1idz+r9u4m7VbT93YgCgjDpk
VX+OKjBT3o1A03PyurqBI+g=
=nfJA
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list