Adding PV to work ${AUTOREV} correctly 33/7533/2
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Mon, 12 Dec 2016 04:36:19 +0000 (13:36 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 12 Dec 2016 14:03:05 +0000 (14:03 +0000)
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>
recipes-demo-hmi/homescreen/homescreen_git.bb

index 3146d21..4900c49 100644 (file)
@@ -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}:"