[oe] [meta-qt5 PATCH] qt5-git.inc: Ensure we export the SRCREV as the module name

Otavio Salvador otavio at ossystems.com.br
Thu Feb 4 11:17:04 UTC 2016


For components which use multiple Git repositories (e.g QtWebEngine)
it is important to have the module name exported so it can be referred
in SRCREV_FORMAT.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

 recipes-qt/qt5/qt5-git.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc
index f8fb38b..bf0be7e 100644
--- a/recipes-qt/qt5/qt5-git.inc
+++ b/recipes-qt/qt5/qt5-git.inc
@@ -1,4 +1,4 @@
-# Copyright (C) 2012 O.S. Systems Software LTDA.
+# Copyright (C) 2012-2016 O.S. Systems Software LTDA.
 # Copyright (C) 2013-2014 Martin Jansa <martin.jansa at gmail.com>
 
 QT_MODULE ?= "${BPN}"
@@ -6,7 +6,7 @@ QT_MODULE_BRANCH ?= "5.6"
 
 # each module needs to define valid SRCREV
 SRC_URI = " \
-    ${QT_GIT}/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH};protocol=${QT_GIT_PROTOCOL} \
+    ${QT_GIT}/${QT_MODULE}.git;name=${QT_MODULE};branch=${QT_MODULE_BRANCH};protocol=${QT_GIT_PROTOCOL} \
 "
 
 S = "${WORKDIR}/git"
-- 
2.7.0




More information about the Openembedded-devel mailing list