Patchwork [meta-fsl-arm,4/5] linux-fslc: Add branch information

login
register
mail settings
Submitter Otavio Salvador
Date Jan. 6, 2014, 3:37 p.m.
Message ID <1389022636-24794-4-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/64155/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Jan. 6, 2014, 3:37 p.m.
The new BitBake fetching code requires the revision to be available in
a know branch so we need to provide this information here.

Change-Id: I393070798ba3c47d0e76bc7d30d6a321e880ec5a
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-kernel/linux/linux-fslc.inc     | 6 ++++--
 recipes-kernel/linux/linux-fslc_3.12.bb | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

Patch

diff --git a/recipes-kernel/linux/linux-fslc.inc b/recipes-kernel/linux/linux-fslc.inc
index 378c66b..19acec1 100644
--- a/recipes-kernel/linux/linux-fslc.inc
+++ b/recipes-kernel/linux/linux-fslc.inc
@@ -1,4 +1,4 @@ 
-# Copyright (C) 2012-2013 O.S. Systems Software LTDA.
+# Copyright (C) 2012-2014 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
 DESCRIPTION = "Freescale Community mainline based Linux kernel"
@@ -12,6 +12,8 @@  inherit kernel
 require recipes-kernel/linux/linux-imx.inc
 require recipes-kernel/linux/linux-dtb.inc
 
-SRC_URI = "git://github.com/Freescale/linux-mainline.git \
+SRCBRANCH ?= ""
+
+SRC_URI = "git://github.com/Freescale/linux-mainline.git;branch=${SRCBRANCH} \
            file://defconfig"
 LOCALVERSION = "-fslc"
diff --git a/recipes-kernel/linux/linux-fslc_3.12.bb b/recipes-kernel/linux/linux-fslc_3.12.bb
index 100aaf2..bb98939 100644
--- a/recipes-kernel/linux/linux-fslc_3.12.bb
+++ b/recipes-kernel/linux/linux-fslc_3.12.bb
@@ -1,11 +1,11 @@ 
-# Copyright (C) 2012-2013 O.S. Systems Software LTDA.
+# Copyright (C) 2012-2014 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
 include linux-fslc.inc
 
 PV = "3.12+git${SRCPV}"
 
-# patches-3.12
+SRCBRANCH = "patches-3.12"
 SRCREV = "9ab58339c5e84c34df82f8a2f68b8b033b9bd03f"
 
 COMPATIBLE_MACHINE = "(mxs|mx3|mx5|mx6)"