[oe] [oe-commits] org.oe.dev SlugOS: ixp4xx-kernel - added 2.6.23.8 recipe and supporting files. (Note that

Rod Whitby rod at whitby.id.au
Sat Nov 24 09:53:32 UTC 2007


Matthias Hentges wrote:
> VANILLA_VERSION = "2.6.23"
> KERNEL_VERSION = "2.6.23.8"
> 
> SRC_URI = "
> ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${VANILLA_VERSION}.tar.bz2
> \
> ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${KERNEL_VERSION}.bz2;patch=1
> \
> "
> 
> The above is IMO indeed a lot more elegant than 
> 
> SRC_URI = "
> ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.23.8.tar.bz2

Even more elegant is not having to specify the SRC_URI or
vanilla_version and kernel_version in the .bb file at all.  The
ixp4xx-kernel.inc file gets all the info it needs from the .bb filename.

It is implemented to be able to handle a whole lot more scenarios than
the simple one of 2.6.23.8 - if people want to fix it so that it still
handles all those -ac, -mm, and -gitNN scenarios listed in the
documentation in the comments at the start of the file, but is also
optimally tuned as far as downloads go, then as Koen would always say:

 "Patches are welcome".

As usual, people should understand something before they criticise it.

-- Rod




More information about the Openembedded-devel mailing list