build.sh: Use deploy/images/${MACHINE} (v3.3.29)

:Release Notes:
Use MACHINE subdirectory in DEPLOY_DIR_IMAGE like newer oe-core does.

:Detailed Notes:
With shared BUILD directory it's even more important to distinguish
which file belongs to which MACHINE in DEPLOY_DIR_IMAGE.

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Build Notes:
Requires to be applied together with weboslayers.py update.

:Issues Addressed:
[ES-346] Use the same BUILD directory for all MACHINEs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I114a7ca3ffc4bb5f39d15779e29820bf23e25940
Reviewed-on: https://g2g.palm.com/6192
Reviewed-by: DCO Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
mcf: change layout of build directories (v5.1.0)

:Release Notes:
BSP layers are meant to be usable even when building for other
MACHINEs and BBLAYERS is supposed to be "global" for build.
Changes visible to developers:
  1) use only one BUILDDIR for all machines, no need to build/store
     native sysroot for each machine in separate BUILD-MACHINE even
     when sstate-cache is reused
  2) rename bitbake.rc to oe-init-build-env and allow users
     to source them and then call bitbake directly e.g.
     "bitbake -k webos-image" instead of using Makefile
  3) merge functionality of toplevel Makefile and BUILD-MACHINE/Makefile
     to single Makefile and reuse oe-init-build-env to have all settings
     in only one place
  4) use TOPDIR instead of PALMDIR [OWEBOS-2487]
  5) conf/local.conf and bblayers.conf are now in toplevel directory and
     also shared by all MACHINES (weboslayers.py is also global)
  6) use MACHINE/DISTRO from shell environment, allows easy iteration over
     MACHINEs e.g.
     for MACHINE in qemuarm qemux86 qemux86-64; do
       bitbake -k webos-image;
     done
  7) this layout is similar to layouts used by other distributions and
     default layout
  8) install and installnew target doing rsync of .ipk files was
     renamed to deploy and deploynew because it was conflicting with
     install* targets for bitbake

:Detailed Notes:
This layout is more efficient because it doesn't duplicate native
sysroot. It doesn't cause more conflicts between MACHINEs, because
each machine has (and always had) separate directory in sysroot.
It's already included in official Yocto manual.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5037
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5400

:Testing Performed:
I'm using this for all my builds for very long time.

:QA Notes:
No change to image.

:Issues Addressed:
[ES-346] Use the same BUILD directory for all MACHINEs
[ES-1138] CCC: build.sh, mcf changes for shared BUILD directory

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Iaff8ed15969afa51c748e32502cccd3f912810eb
Reviewed-on: https://g2g.palm.com/4470
Reviewed-by: DCO Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>