All of lore.kernel.org
 help / color / mirror / Atom feed
* History and intentions of linux.inc ?
@ 2011-02-08 21:41 Darren Hart
  2011-02-08 21:49 ` Gary Thomas
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Darren Hart @ 2011-02-08 21:41 UTC (permalink / raw)
  To: poky@yoctoproject.org

I've stumbled over a couple of interesting bits in the existing
recipes-kernel/linux/linux.inc, for example (but not limited to):

> do_install_prepend() {
>         if test -e arch/${ARCH}/boot/Image ; then
>              ln -f arch/${ARCH}/boot/Image arch/${ARCH}/boot/uImage
>         fi

On a recent kernel, the above will overwrite a valid uImage with Image,
resulting in a non-bootable set of files in deploy/images.

> 
>         if test -e arch/${ARCH}/boot/images/uImage ; then
>              ln -f arch/${ARCH}/boot/images/uImage arch/${ARCH}/boot/uImage
>         fi

The arch/arm/boot/images directory does not exist on a current kernel
(2.6.35-linaro anyway).


Does anyone know the historical significance and/or intent of this code?
Are there architectures for which this does something sane? After
reading through linux.inc, I'm inclined to avoid using it for the
meta-linaro kernel, and then going after it with chainsaw.

Anyone have anything to add before I start cutting?

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-09  1:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 21:41 History and intentions of linux.inc ? Darren Hart
2011-02-08 21:49 ` Gary Thomas
2011-02-08 22:03   ` Darren Hart
2011-02-08 22:01 ` Tom Rini
2011-02-09  1:27 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.