userland: Add SRCBRANCH and SRCFORK for use by SRC_URI

Makes it clearer to manage repo forks, and branches prior to (e.g.) upstream
commits of in tree changes.

Change-Id: I42f8af975c08f84c4ceb9910713eba2da3a87d8b
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
Alex J Lennon 2014-06-02 11:47:34 +01:00 committed by Andrei Gherzan
parent e7fdcad1fa
commit aa790be2fa

View File

@ -11,8 +11,11 @@ PROVIDES = "virtual/libgles2 \
virtual/egl"
COMPATIBLE_MACHINE = "raspberrypi"
SRCBRANCH = "master"
SRCFORK = "raspberrypi"
SRCREV = "eccb81050afd177da1923404b366c6226f29bfe0"
SRC_URI = "git://github.com/raspberrypi/userland.git;protocol=git;branch=master \
SRC_URI = "git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
"
S = "${WORKDIR}/git"