boot-directdisk: add the support of vmdk

add the support of vmdk.

(From OE-Core rev: 086ce22b88f5ef5f75a83119a32c8b3fdcfa296d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
boot-directdisk: fix the support of vmdk

Previous change (086ce22b88f5ef5f75a83119a32c8b3fdcfa296d) broke
the creating of vmdk images. This protects shell expansion variables
and let dd generate the image to be transformed to vmdk by image-vmdk.class.

(From OE-Core rev: 2fe667afbdc6880c377657b5ff27e6db3b6cbe77)

Signed-off-by: Joao Henrique Ferreira de Freitas <joaohf@gmail.com>

[edit to change the usage of IMAGE_FSTYPE to IS_VMDK]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
unzip: Pass LDFLAGS to the linker

Change Makefile to use LDFLAGS

(From OE-Core rev: 4f211322eb1179db62c03616b4c113114c612cf8)

Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
makedevs: Respect LDFLAGS

* fixes ERROR: QA Issue: No GNU_HASH in the elf binary

(From OE-Core rev: 76e01095d5515e7c2605b480d5c47a4661ef72f2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nspr: Add LDFLAGS to TARGET_CC_ARCH to fix warning

WARNING: QA Issue: No GNU_HASH in the elf binary: 'armv7a-vfp-neon-mel-linux-gnueabi/nspr/4.10-r0/packages-split/nspr-dev/usr/lib/nspr/tests/formattm'
WARNING: QA Issue: No GNU_HASH in the elf binary: 'armv7a-vfp-neon-mel-linux-gnueabi/nspr/4.10-r0/packages-split/nspr-dev/usr/lib/nspr/tests/threads'
WARNING: QA Issue: No GNU_HASH in the elf binary: 'armv7a-vfp-neon-mel-linux-gnueabi/nspr/4.10-r0/packages-split/nspr-dev/usr/lib/nspr/tests/semaerr'
There are many QA Warnings thrown like the above for this recipe. This is observed for target imx6 sabrelite.

(From OE-Core rev: 98d9af299c6e110c7560f282f37f1f85c155213d)

Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ?= to allow local.conf to override KERNEL_LD

Note that this is a _hack_ to allow builds using an external
toolchain to use <prefix>-ld rather than <prefix>-ld.bfd to
complete.  The meta-sourcery layer does this better by using
symlinks in the sysroot.
Fix packaging errors

Note that this is a hack.  The meta-sourcery layer does this
properly.

Modified version of the following:
  https://github.com/MentorEmbedded/meta-sourcery/commit/7bf1138a013c50ce37ad5efd039009df7182a44e
  https://github.com/MentorEmbedded/meta-sourcery/commit/004c18ac5d5cdd97ada5711b8cf641997059b7cc

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Only use the '-msgxx-glibc' option with CodeBench Pro

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Add libquadmath packages

Modified and applied from:
    https://github.com/MentorEmbedded/meta-sourcery/commit/f5e5f74648dde5e95cd77825d608ce07ba946bf7

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Cleanup some empty dirs to avoid packaging errors
Grab fix from meta-sourcery layer for external toolchain usage.

Commit logs:
    commit f573bdb536b33e87748d6f85a269da6be9f6bba4
    Author: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
    Date:   Tue Jul 17 16:52:34 2012 +0300

        tcmode-external-sourcery: CSL_TARGET_SYS may contain a list of triplets

        The first mentioned toolchain triplet from the list is selected, if
        there is a correspondent compiler found in external toolchain path.

        Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>

    commit e8e350808447ff566bc89792c4a7dac90df79722
    Author: Christopher Larson <chris_larson@mentor.com>
    Date:   Sun Jul 29 13:47:38 2012 -0400

        tcmode-external-sourcery: don't fall back to non-prefixed for CSL_TARGET_SYS

        Signed-off-by: Christopher Larson <chris_larson@mentor.com>

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Force gnu hash style to avoid QA errors

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Ignore downloads and sstate-cache directories

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>