[meta-freescale] [meta-fsl-arm-extra][PATCH] linux-wandboard: Add branch name

John Weber rjohnweber at gmail.com
Mon Dec 9 08:11:59 PST 2013


From: Dan McGregor <danismostlikely at gmail.com>

New bitbake checks for SRCREV in the branch to be checked out.
That defaults to master, but SRCREV may not be in master.  Set the
branch so bitbake doesn't die.

Amended by John Weber to use GITBRANCH instead of BRANCH.

Signed-off-by: John Weber <rjohnweber at gmail.com>
---
 recipes-kernel/linux/linux-wandboard.inc       |    4 +++-
 recipes-kernel/linux/linux-wandboard_3.0.35.bb |    1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-wandboard.inc b/recipes-kernel/linux/linux-wandboard.inc
index d2b743f..fa73b4a 100644
--- a/recipes-kernel/linux/linux-wandboard.inc
+++ b/recipes-kernel/linux/linux-wandboard.inc
@@ -11,8 +11,10 @@ require recipes-kernel/linux/linux-imx.inc
 LOCALVERSION ?= "+yocto"
 SCMVERSION ?= "y"
 
+GITBRANCH ??= "master"
+
 # SRC_URI for wandboard kernel
-SRC_URI = "git://github.com/wandboard-org/linux.git \
+SRC_URI = "git://github.com/wandboard-org/linux.git;branch=${GITBRANCH} \
            file://defconfig \
 "
 
diff --git a/recipes-kernel/linux/linux-wandboard_3.0.35.bb b/recipes-kernel/linux/linux-wandboard_3.0.35.bb
index a990556..fc4fea4 100644
--- a/recipes-kernel/linux/linux-wandboard_3.0.35.bb
+++ b/recipes-kernel/linux/linux-wandboard_3.0.35.bb
@@ -4,6 +4,7 @@
 include linux-wandboard.inc
 
 # Wandboard branch - based on 4.0.0 from Freescale git
+GITBRANCH = "wandboard_imx_3.0.35_4.0.0"
 SRCREV = "d35902c77a077a25e4dfedc6aac11ba49c52c586"
 LOCALVERSION = "-4.0.0-wandboard"
 
-- 
1.7.9.5



More information about the meta-freescale mailing list