From: Philipp Wagner <lists@philipp-wagner.com>
To: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi][PATCH 1/6] linux-raspberrypi: Move patch in inc file
Date: Wed, 13 Nov 2013 16:54:35 +0100 [thread overview]
Message-ID: <5283A0BB.2010001@philipp-wagner.com> (raw)
In-Reply-To: <1384357651-26684-1-git-send-email-andrei@gherzan.ro>
Am 13.11.2013 16:47, schrieb Andrei Gherzan:
> In order to avoid duplicated code, move sl030raspberrypii2ckernel.patch
> in linux-raspberrypi.inc.
I'm not convinced this is a good idea. Maybe it's the case for this
patch, but most patches probably don't apply for all kernel versions the
same. Hopefully this patch goes upstream at some point (what's the
status of that anyway), and then it's not needed any more.
Philipp
>
> Change-Id: I8c3e7a70224672a8def6518baecd4ef86bbb15c4
> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> ---
> recipes-kernel/linux/linux-raspberrypi.inc | 2 ++
> recipes-kernel/linux/linux-raspberrypi_3.11.0.bb | 4 +---
> recipes-kernel/linux/linux-raspberrypi_3.2.27.bb | 4 +---
> recipes-kernel/linux/linux-raspberrypi_3.6.11.bb | 4 +---
> recipes-kernel/linux/linux-raspberrypi_3.8.13.bb | 4 +---
> 5 files changed, 6 insertions(+), 12 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
> index e756b57..3397bcb 100644
> --- a/recipes-kernel/linux/linux-raspberrypi.inc
> +++ b/recipes-kernel/linux/linux-raspberrypi.inc
> @@ -11,6 +11,8 @@ PV_append = "+git${SRCREV}"
>
> S = "${WORKDIR}/git"
>
> +SRC_URI += "file://sl030raspberrypii2ckernel.patch"
> +
> # NOTE: For now we pull in the default config from the RPi kernel GIT tree.
> KERNEL_DEFCONFIG = "bcmrpi_defconfig"
>
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.11.0.bb b/recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
> index 1ae39b2..b197289 100644
> --- a/recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
> +++ b/recipes-kernel/linux/linux-raspberrypi_3.11.0.bb
> @@ -1,6 +1,4 @@
> SRCREV = "d7474694bdc9836af17f4b4d839509f9aad7ffa7"
> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.11.y \
> - file://sl030raspberrypii2ckernel.patch \
> - "
> +SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.11.y"
>
> require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb b/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
> index cc4ee38..7c593a8 100644
> --- a/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
> +++ b/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
> @@ -1,6 +1,4 @@
> SRCREV = "ada8b4415ff44d535d63e4291a0eca733bc2ad0f"
> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \
> - file://sl030raspberrypii2ckernel.patch \
> - "
> +SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27"
>
> require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
> index 5314f5d..5f173f9 100644
> --- a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
> +++ b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
> @@ -1,6 +1,4 @@
> SRCREV = "cbd6672e7e1b2dc5026f5dc7929a13a9a68f2a62"
> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
> - file://sl030raspberrypii2ckernel.patch \
> - "
> +SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y"
>
> require linux-raspberrypi.inc
> diff --git a/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb b/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
> index dc8cf0a..613c172 100644
> --- a/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
> +++ b/recipes-kernel/linux/linux-raspberrypi_3.8.13.bb
> @@ -1,6 +1,4 @@
> SRCREV = "d996a1b91b2bf3dc06f4f4f822a56f4496457aa1"
> -SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.8.y \
> - file://sl030raspberrypii2ckernel.patch \
> - "
> +SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.8.y"
>
> require linux-raspberrypi.inc
>
next prev parent reply other threads:[~2013-11-13 15:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-13 15:47 [meta-raspberrypi][PATCH 1/6] linux-raspberrypi: Move patch in inc file Andrei Gherzan
2013-11-13 15:47 ` [meta-raspberrypi][PATCH 2/6] linux-raspberrypi: Update available versions to HEAD Andrei Gherzan
2013-11-13 15:47 ` [meta-raspberrypi][PATCH 3/6] linux-raspberrypi: Add version 3.10.18 and 3.12 Andrei Gherzan
2013-11-13 15:51 ` Philipp Wagner
2013-11-13 15:47 ` [meta-raspberrypi][PATCH 4/6] rpi-default-providers: Use 3.10.X as default kernel Andrei Gherzan
2013-11-13 15:47 ` [meta-raspberrypi][PATCH 5/6] firmware.inc: Update to HEAD on 2013-11-13 Andrei Gherzan
2013-11-13 15:47 ` [meta-raspberrypi][PATCH 6/6] userland: " Andrei Gherzan
2013-11-13 15:54 ` Philipp Wagner [this message]
2013-11-13 16:08 ` [meta-raspberrypi][PATCH 1/6] linux-raspberrypi: Move patch in inc file Gary Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5283A0BB.2010001@philipp-wagner.com \
--to=lists@philipp-wagner.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.