diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2018-11-20 13:43:51 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2018-11-21 11:43:18 +0000 |
commit | c5a5bce25764de55420664b6896fd76ba5d18f45 (patch) | |
tree | 37946f9fcb4cf9dc9f09e0f693cb2b95a1c1f775 /meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb | |
parent | 41105c273d58293be70f23d8e0ac24f41042d3f0 (diff) | |
download | meta-boot2qt-75186ea624da15ee862fa50eaaaed208f2ab24a5.tar.gz |
Remove default expansion parameter from getVarv5.12.0-rc
getVar defaults to expanding the variable, the second True
parameter is unnecessary.
Change-Id: Iafaf179c67ffedaba2946c078c1810a80198cf5e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb')
-rw-r--r-- | meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb b/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb index a599e23..c85d3ba 100644 --- a/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb +++ b/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb | |||
@@ -38,11 +38,11 @@ S = "${WORKDIR}" | |||
38 | 38 | ||
39 | inherit qbsp | 39 | inherit qbsp |
40 | 40 | ||
41 | PV := "${@d.getVar('PV', True).split('+')[0]}" | 41 | PV := "${@d.getVar('PV').split('+')[0]}" |
42 | 42 | ||
43 | VERSION_SHORT = "${@d.getVar('PV', True).replace('.','')}" | 43 | VERSION_SHORT = "${@d.getVar('PV').replace('.','')}" |
44 | QBSP_NAME = "Boot2Qt ${PV}" | 44 | QBSP_NAME = "Boot2Qt ${PV}" |
45 | QBSP_MACHINE = "${@d.getVar('MACHINE', True).replace('-','')}" | 45 | QBSP_MACHINE = "${@d.getVar('MACHINE').replace('-','')}" |
46 | QBSP_INSTALLER_COMPONENT = "embedded.b2qt.${VERSION_SHORT}.yocto.${QBSP_MACHINE}" | 46 | QBSP_INSTALLER_COMPONENT = "embedded.b2qt.${VERSION_SHORT}.yocto.${QBSP_MACHINE}" |
47 | QBSP_INSTALL_PATH = "/${PV}/Boot2Qt/${MACHINE}" | 47 | QBSP_INSTALL_PATH = "/${PV}/Boot2Qt/${MACHINE}" |
48 | 48 | ||