summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2016-12-12 13:36:19 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-12 14:03:05 +0000
commita8bbee9a90ccf74b8a73c9e481ea9d69a04a1827 (patch)
treec65be7b083a568e2fd0127f0e4d24aafd94a47d7
parent6e5735d2ee0c2ee7e556d209411bf2e001031182 (diff)
Adding PV to work ${AUTOREV} correctly
To work 'SRCREV = ${AUTOREV}' correctly (which means always fetch the latest version available at build), PV needs to be modified which includes ${SRCPV}. Change-Id: I6bff49b493e99ba1e8eaadc5093d11e03ceaa7c9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
-rw-r--r--recipes-demo-hmi/homescreen/homescreen_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-demo-hmi/homescreen/homescreen_git.bb b/recipes-demo-hmi/homescreen/homescreen_git.bb
index 3146d21f8..4900c499d 100644
--- a/recipes-demo-hmi/homescreen/homescreen_git.bb
+++ b/recipes-demo-hmi/homescreen/homescreen_git.bb
@@ -21,6 +21,9 @@ DEPENDS += " qtdeclarative qtquickcontrols2 "
LIC_FILES_CHKSUM = "file://HomeScreen/LICENSE;md5=ae6497158920d9524cf208c09cc4c984"
SRCREV = "${AUTOREV}"
+# PV needs to be modified with SRCPV to work AUTOREV correctly
+PV = "0.0+git${SRCPV}"
+
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git;protocol=http"
PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"