Re: [PATCH 0/5] kbuild

Sam Ravnborg
2004-06-15T20:53:28Z

On Tue, Jun 15, 2004 at 12:27:40PM -0700, Tom Rini wrote:
>
> What I don't see is why:
> 'znetboot - Build a zImage and put into /tftpboot/
> uImage - Build an image for U-Boot
> rom.img - Build an image to live on ROM
> srec - Build an SREC image'
>
> etc, isn't sufficient, in the archhelp.

Two things.
1) You better remember to specify them each and every time.
Otherwise uImage gets out of sync with the kernel.
2) I know the srec format, but that is no help to expaling me
the actual content of the file.
Memory layout, start address or whatever. Where to find this info.
Same goes for other targets. I you know your stuff no swaet.
But for $random hacker it becomes another obstacle

> Or, you restrict their choices to what would work, which is a horrible
> mess. And you may need to restrict the choices, otherwise we'll get
> 'allyesconfig' doesn't build type messages again (yes, I've already had
> to re-arrange things once for allyesconfig on ppc32).
>
> > But for a given board I would expect the defconfig to select the correct
> > kernel image.
>
> <nit>'correct' is such an odd word here. Especially in the case where
> all of them are valid targets.</nit>

Read 'type of'. In most case zImage I assume, but in some case with a
bootloader added. The other options may vary (a lot).

Sam