setup-environment: Add sdl PACKAGECONFIG for qemu-native.

* Add PACKAGECONFIG for qemu-native for qemu machines. Get the machine
  name and added when its one of the qemu machine.

* SB-3879

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Merge pull request #365 from Noor-Ahsan/alsa-utils

setup-environment: Add sdl PACKAGECONFIG for qemu-native.
sed: rrec on locale-base-ru-ru, not rdep

This locale package isn't guaranteed to exist, depending on the value of
GLIBC_GENERATE_LOCALES.

JIRA: SB-3882

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Merge pull request #367 from MentorEmbedded/sb-3882

sed: rrec on locale-base-ru-ru, not rdep
setup-environment: simplify error handling

Make better use of the setup-mel-builddir exit code to determine what actions
we take.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
setup-environment: add local.conf snippet support

For each configured layer, check for conf/local.conf.append, and if it exists,
append it to local.conf, in a bracketed block. It will automatically remove an
existing block for this file if it exists, to handle reconfiguration of
existing build directories. This should be much more convenient than using
post-setup-environment for the most common case.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
setup-environment: also parse local.conf.append.$MACHINE

This will allow for machine specific adjustments and fixups, which is
particularly useful when dealing with bsp layers outside your control.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
setup-environment: use local.conf.append.minnow

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
setup-environment: use local.conf.append.qemu

This leverages a post-setup-environment snippet to load an additional
local.conf.append snippet, to avoid having to create one for each and every
supported qemu MACHINE.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Merge pull request #368 from kergoth/sb-3858

Implement and use local.conf.append support
Merge pull request #369 from MentorEmbedded/release/2014.12

Merge from release/2014.12