Patchwork [meta-fsl-arm] linux-imx: Update SRC_URI for new fetcher behavior.

login
register
mail settings
Submitter Daiane Angolini
Date Dec. 12, 2013, 2:27 p.m.
Message ID <1386858450-6741-1-git-send-email-daiane.angolini@freescale.com>
Download mbox | patch
Permalink /patch/63269/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Daiane Angolini - Dec. 12, 2013, 2:27 p.m.
If SRCREV is not in the master branch, the SRC_URI
must specify the branch.
---
 recipes-kernel/linux/linux-imx.inc         | 2 +-
 recipes-kernel/linux/linux-imx_2.6.35.3.bb | 1 +
 recipes-kernel/linux/linux-imx_3.0.35.bb   | 1 +
 recipes-kernel/linux/linux-imx_3.10.9.bb   | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)
Fabio Estevam - Dec. 12, 2013, 2:52 p.m.
On Thu, Dec 12, 2013 at 12:27 PM, Daiane Angolini
<daiane.angolini@freescale.com> wrote:
> If SRCREV is not in the master branch, the SRC_URI
> must specify the branch.
> ---

You missed the Signed-off-by tag.

Regards,

Fabio Estevam
Daiane Angolini - Dec. 12, 2013, 3:34 p.m.
On 12-12-2013 12:52, Fabio Estevam wrote:
> On Thu, Dec 12, 2013 at 12:27 PM, Daiane Angolini
> <daiane.angolini@freescale.com> wrote:
>> If SRCREV is not in the master branch, the SRC_URI
>> must specify the branch.
>> ---
>
> You missed the Signed-off-by tag.

Thanks, I'm going to send V2

>
> Regards,
>
> Fabio Estevam
>
>

Patch

diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc
index 73af4aa..7b1ffee 100644
--- a/recipes-kernel/linux/linux-imx.inc
+++ b/recipes-kernel/linux/linux-imx.inc
@@ -13,7 +13,7 @@  inherit kernel
 LOCALVERSION ?= "+yocto"
 SCMVERSION ?= "y"
 
-SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git \
+SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git;branch=${SRCBRANCH} \
            file://defconfig \
 "
 
diff --git a/recipes-kernel/linux/linux-imx_2.6.35.3.bb b/recipes-kernel/linux/linux-imx_2.6.35.3.bb
index 4941e89..434c21e 100644
--- a/recipes-kernel/linux/linux-imx_2.6.35.3.bb
+++ b/recipes-kernel/linux/linux-imx_2.6.35.3.bb
@@ -10,6 +10,7 @@  COMPATIBLE_MACHINE = "(mx28|mx5)"
 # Revision of imx_2.6.35_maintain branch
 SRCREV = "903363ed80a113f2d1e3e96e508ecf128d9af323"
 LOCALVERSION = "-maintain+yocto"
+SRCBRANCH = "imx_2.6.35_maintain"
 
 SRC_URI += "file://NFS-Fix-nfsroot-support.patch \
             file://NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch \
diff --git a/recipes-kernel/linux/linux-imx_3.0.35.bb b/recipes-kernel/linux/linux-imx_3.0.35.bb
index cb71e56..72506f2 100644
--- a/recipes-kernel/linux/linux-imx_3.0.35.bb
+++ b/recipes-kernel/linux/linux-imx_3.0.35.bb
@@ -10,6 +10,7 @@  COMPATIBLE_MACHINE = "(mx6)"
 # Revision of 4.1.0 branch
 SRCREV = "bdde708ebfde4a8c1d3829578d3f6481a343533a"
 LOCALVERSION = "-4.1.0+yocto"
+SRCBRANCH = "imx_3.0.35_4.1.0"
 
 # Patches need for Yocto and not applied by Freescale when doing 4.1.0 branch
 SRC_URI += "file://drm-vivante-Add-00-sufix-in-returned-bus-Id.patch \
diff --git a/recipes-kernel/linux/linux-imx_3.10.9.bb b/recipes-kernel/linux/linux-imx_3.10.9.bb
index c7322ff..316751e 100644
--- a/recipes-kernel/linux/linux-imx_3.10.9.bb
+++ b/recipes-kernel/linux/linux-imx_3.10.9.bb
@@ -11,5 +11,6 @@  DEFAULT_PREFERENCE = "-1"
 # 3.10.9-1.0.0 rc1 commit
 SRCREV = "dbf364b3d0123e5328ae28455c57e588635232c7"
 LOCALVERSION = "-1.0.0_alpha"
+SRCBRANCH = "imx_3.10.9_1.0.0_alpha"
 
 COMPATIBLE_MACHINE = "(mx6)"