mcf: Fix parsing meta-systemd layer.conf

* fails to parse newer meta-systemd where it matches also this line:
  ${@base_contains('BBFILE_COLLECTIONS', 'systemd-layer',\
  Traceback (most recent call last):
  File "./mcf", line 426, in <module>
    parseCollections(srcdir)
  File "./mcf", line 269, in parseCollections
    traversedir(pathstr)
  File "./mcf", line 257, in traversedir
    parselayerconffiles(layername, collectionpath)
  File "./mcf", line 246, in parselayerconffiles
    (dummy, collectionname) = line.rsplit('=')
  ValueError: need more than 1 value to unpack

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: Ia29f42916f6996230ea3d5aa47958fce9db2593d
Update copyright years, small formal changes

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I353930204f542e8124f5027e0531ef18a2f0c361
mcf: Add support to enable buildhistory repository

* BUILDHISTORY_COMMIT is set to 1 when buildhistory is enabled
* BUILDHISTORY_AUTHOR assignment is generated in local.conf if
  buildhistory author is provided, otherwise it will use author
  from global git config

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: If75ed6dc0bc79df66588a2e6eb923af43e5e58a7
build.sh: Add simple script to perform default build

* this moves some logic used in Jenkins jobs to versioned script

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I185c7e97ab033ac72f244259ff21fb05cbdcc663
mcf: change layout of build directories

  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-bitbake-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-bitbake-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
       export MACHINE;
       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

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: Ica7ade8921bece8ff85ffb61f0d33d8636009838