linux-wandboard: Add branch name

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@gmail.com>
This commit is contained in:
Dan McGregor 2013-12-09 10:11:59 -06:00 committed by Otavio Salvador
parent 23d4b3193e
commit ca3f9d278b
2 changed files with 4 additions and 1 deletions

View File

@ -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 \
"

View File

@ -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"