Skip to contentSkip to conversation

linux-wandboard: Add branch name

PATCH New John Weber 1 participant 1 message Dec 9, 2013

lore
Share & tools
lore

John Weber

author
#0 lore raw

PATCH 1/1 linux-wandboard: Add branch name

From: Dan McGregor <[email protected]>

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.

---
 recipes-kernel/linux/linux-wandboard.inc       |    4 +++-
 recipes-kernel/linux/linux-wandboard_3.0.35.bb |    1 +
 2 files changed, 4 insertions(+), 1 deletion(-)
recipes-kernel/linux/linux-wandboard.inc +3 -1
index d2b743f..fa73b4a 100644
@@ -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 \
 "
 
recipes-kernel/linux/linux-wandboard_3.0.35.bb +1 -0
index a990556..fc4fea4 100644
@@ -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"
 
Signature · 1 line
1.7.9.5