webos.inc: Add the build number to the image filenames

When being built by a build server, replace the DATETIME suffix in the
rootfs and kernel image filenames with WEBOS_DISTRO_BUILD_ID.

[GF-4890] Arrange for the build number to appear in the image filenames

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>
Change-Id: Ie0d397fc609a92d47cdf58fc8fa64629cdc435f8
webos_cmake: Apply vardepvalue only on new *MACHINE* vars

* whole path to OECMAKE_BUILDPATH is part of checksum when some
  recipe uses EXTRA_OECMAKE += "-DBUILDDIR=${OECMAKE_BUILDPATH}"

[GF-4715] some recipes are rebuilt when using shared state

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I1535adcedf1cb930d0c78552825dbd515f2b15d3
Reviewed-on: https://g2g.palm.com/2105
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Build Verification <
;
;
>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos.inc: Add WEBOS_ variables to Build Configuration output

Add WEBOS_DISTRO_RELEASE_CODENAME and WEBOS_DISTRO_BUILD_ID to what's
displayed as the "build configuration".

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>
Change-Id: Ic8731e7d3629e81d0ea10860abe821062c4222bb
Reviewed-on: https://g2g.palm.com/2078
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Build Verification <
;
;
>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos_qmake5: Fix EXPORT_WEBOS_QMAKE_MACHINE

* all recipes which were depending on this functionality were also
  setting WEBOS_QMAKE_TARGET, so I haven't noticed this copy&paste
  issue until now

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Ic5c9f3072cd32e5af57df1b178221c63a358bc32
Reviewed-on: https://g2g.palm.com/2183
Reviewed-by: Build Verification <
;
;
>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>