[yocto] [PATCH] linux-libc-headers-raspberrypi: Drop, its unneeded and bad practise

Andrei Gherzan andrei at gherzan.ro
Sun Jun 23 13:13:00 PDT 2013


On Sun, Apr 21, 2013 at 6:21 PM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> If we have this recipe, it means the whole armv6 (or whichever tune) is
> chosen depends
> on a machine specific recipe. This makes no sense as armX packages are
> meant to be
> machine independent.
>
> We've had this problem in other layers and it causes needed rebuilds of
> packages
> when you switch machines since the sstate checksums change. These headers
> are just part
> of the toolchain bootstrap process so "standard" kernel headers are fine.
> The kernel
> header version does need to be later of equal to the kernel version but
> we're fine in
> that regard since the core is on 3.8, the latest pi kernel is 3.6.
>
> There is nothing special about these headers so lets remove them and use
> the standard
> system provided recipe, avoding any rebuilds. I tested the various other
> recipes in
> the layer and there doesn't seem to be any dependency on these headers.
>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
>  .../linux-libc-headers-raspberrypi_3.2.27.bb               |   12
> ------------
>  1 file changed, 12 deletions(-)
>  delete mode 100644 recipes-kernel/linux-libc-headers/
> linux-libc-headers-raspberrypi_3.2.27.bb
>
> diff --git a/recipes-kernel/linux-libc-headers/
> linux-libc-headers-raspberrypi_3.2.27.bbb/recipes-kernel/linux-libc-headers/
> linux-libc-headers-raspberrypi_3.2.27.bb
> deleted file mode 100644
> index a5964ab..0000000
> --- a/recipes-kernel/linux-libc-headers/
> linux-libc-headers-raspberrypi_3.2.27.bb
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -require recipes-kernel/linux-libc-headers/linux-libc-headers.inc
> -
> -PR = "r0"
> -
> -PROVIDES = "linux-libc-headers"
> -RPROVIDES_${PN}-dev = "linux-libc-headers-dev"
> -RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg"
> -
> -SRCREV = "10182a3bc434b27740f81c2b836a1af943060241"
> -SRC_URI = "git://
> github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \
> -          "
> -S = "${WORKDIR}/git"
> --
> 1.7.10.4
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

Sorry for missing out your patch. Please include "[meta-rapberrypi]" in
your subject prefix next time.
Thank you for you contribution. Patch merged.

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130623/f0a99bb9/attachment.html>


More information about the yocto mailing list