imx-bootlets: create files in the sstate input area

do_deploy_append was creating files in the sstate output directory
(DEPLOY_DIR_IMAGE).  Thus, files created there won't actually go to
the sstate data.

This issue leads to a subtle bug: if imx-bootlets had been built, so
it was in the sstate cache, do_rootfs would fail after TMPDIR was
removed, since it would run IMAGE_CMD_linux.hab.sb (from
image_types_reach.bbclass), which expects the files generated by
imx-bootlets.bbappend to be in TMPDIR/deply/image/<machine>.   The
files would not be there because do_deploy_append would create them in
DEPLOY_DIR_IMAGE, which is an sstate _output_ directory.  Once TMPDIR
is removed, files in TMPDIR/deply/image/<machine> would be gone, and
those files created by do_deploy_append won't be placed there again
because they were not written to the sstate input area.

The fix consists in creating files in an sstate _input_ directory
(DEPLOYDIR), as configured by deploy.bbclass, inherited by the
original imx-bootlets recipe.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Bump mfg-test srcrev

Signed-off-by: Jeff Horn <jhorn@reachtech.com>
linux-g2s: rework recipe

Reuse linux-imx.inc from meta-fsl, instead of using the local custom
linux-g2s.inc.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
image_types_reach.bbclass: inherit image_types

That's required for 'imagetypes_getdepends'.  Fixes:

Exception: NameError: global name 'imagetypes_getdepends' is not defined

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
g2s-101-24: fix firmware package names

Replace firmware-imx-ar3k by linux-firmware-ar3k and firmware-imx-ath6
by linux-firwmare-ath6.

Fixes:

ERROR: Nothing RPROVIDES 'firmware-imx-ar3k'
  (but /home/mario/src/reach/sources/poky/meta/recipes-core/packagegroups/packagegroup-base.bb
  RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'firmware-imx-ar3k' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['firmware-imx-ar3k']
NOTE: Runtime target 'packagegroup-base-extended' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-base-extended',
  'firmware-imx-ar3k']
ERROR: Required build target 'reach-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['reach-image-minimal',
  'packagegroup-base-extended', 'firmware-imx-ar3k']

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
g2s-101-24: drop dependency on g2s-base.inc

Use imx-base.inc anddrop g2s-base.inc and some duplicate code.

g2s-base.inc has been removed as it is not used by any other
configuration file.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
image_types_reach.bbclass: fix $SDCARD_GENERATION_COMMAND for g2s and g2h

SDCARD_GENERATION_COMMAND for g2s and g2h is configured with
generate_g2sh_sdcard, however, the defined function was
generate_g2hs_sdcard.  To fix that, we change the function name (in
its definition) to the name pointed by SDCARD_GENERATION_COMMAND
(generate_g2sh_sdcard).

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
adding tiny image to simplify debugging boot
we do not need to change the generate sdcard function for g2s or g2h
g2c-base.inc: Remove preferred version setting for tslib

The 1.1 version is the default in Daisy so no need to set it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
distro/reach: Set xserver-nodm-init to 1.0

The machines must use the 1.0 version which is provided in OE-Core.

Setting it machine is wrong as different machines might use different
versions; setting this in the distro makes it globally used.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
distro/reach: Remove duplication of distro settings

To easy maintenance the duplication of distro settings with
O.S. Systems Embedded Linux has been removed. This is key to allow a
better understanding of the differences each distribution has and
isolate attention points.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
distro/reach-x11: Remove unused virtual setting

The default virtual/libx11 provider is indeed libx11 so the setting is
not necessary.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Add webkit to reach sdk

Signed-off-by: Stephano Cetola <scetola@reachtech.com>
Add qt webkit "-dev" package so that we can do development

The /usr/include/qtopia/QtWebKit directory was not added to the sdk
unless we added the -dev package.

Signed-off-by: Stephano Cetola <scetola@reachtech.com>
bump revs for qml-demo qml-viewer and mxs-plugins
Bump the kernel rev, move to master branch, and update defconfigs for
all g2c machines

Signed-off-by: Stephano Cetola <scetola@reachtech.com>
Fix memset optimization errors in GCC

Recent GCC versions (e.g. GCC-4.7.2) perform optimizations based on
assumptions about the implementation of memset and similar functions.
The current ARM optimized memset code does not return the value of
its first argument, as is usually expected from standard
implementations.

Signed-off-by: Stephano Cetola <scetola@reachtech.com>
linux-g2h: Simplify recipe as it has a single version

As we have a single version we don't need to use a .inc file.
Specially as this kernel recipe is very simple and the .inc file ends
adding complexity where there is no need for it.

This also rework the recipe for easy maintenance and cleanness.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Add etc to Samba shares with linux-friendly name

Signed-off-by: Stephano Cetola <scetola@reachtech.com>