qt5: allow overriding git protocol used with QT_GIT uri

Add option QT_GIT_PROTOCOL to specify the protocol to be used
with the QT_GIT uri.

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Samuli Piippo
2016-01-14 09:29:53 +02:00
committed by Martin Jansa
parent c7cd9cb466
commit 3e2058f2e7
2 changed files with 2 additions and 1 deletions

View File

@@ -28,3 +28,4 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
IMAGE_FEATURES[validitems] += "qtcreator-debug"
QT_GIT ?= "git://github.com/qtproject"
QT_GIT_PROTOCOL ?= "git"

View File

@@ -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} \
${QT_GIT}/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH};protocol=${QT_GIT_PROTOCOL} \
"
S = "${WORKDIR}/git"