[yocto] [meta-raspberrypi][PATCH 2/2] userland: Add SRCBRANCH and SRCFORK for use by SRC_URI
Alex J Lennon
ajlennon at dynamicdevices.co.uk
Mon Jun 2 03:58:35 PDT 2014
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 at dynamicdevices.co.uk>
---
recipes-graphics/userland/userland_git.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb
index 4b405ee..7fb7ebb 100644
--- a/recipes-graphics/userland/userland_git.bb
+++ b/recipes-graphics/userland/userland_git.bb
@@ -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"
--
2.0.0
More information about the yocto
mailing list