diff options
author | Jessica Zhang <jessica.zhang@intel.com> | 2012-07-16 15:29:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-18 14:29:29 +0100 |
commit | 04c2ee40f6bba6c0446c8df5ef78ab42d3cf0270 (patch) | |
tree | faae762ced18a1a96c390440720d965ddd2474a6 /meta | |
parent | 9a527250725ca4c63bd08324e2f2dfa2aa19fb8c (diff) | |
download | poky-04c2ee40f6bba6c0446c8df5ef78ab42d3cf0270.tar.gz |
meta-ide-support: Add native qemu support for meta-ide-support
[YOCTO #2761]
This patch fixed the issue that after "bitbake meta-ide-support" and try to start qemu and it will fail. This is due to the meta-ide-support lacking dependency for qemu native and ended up using qemu under /usr/bin. Fix the issue by adding dependency for qemu native in meta-ide-support and also add the path info in the environment-setup script.
(From OE-Core rev: 3ea597249c18d73417abe7d7a9d32bba00499914)
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 2 | ||||
-rw-r--r-- | meta/recipes-core/meta/meta-ide-support.bb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index bf37ec9ac8..e5e5e96a7b 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass | |||
@@ -52,7 +52,7 @@ toolchain_create_tree_env_script () { | |||
52 | script=${TMPDIR}/environment-setup-${REAL_MULTIMACH_TARGET_SYS} | 52 | script=${TMPDIR}/environment-setup-${REAL_MULTIMACH_TARGET_SYS} |
53 | rm -f $script | 53 | rm -f $script |
54 | touch $script | 54 | touch $script |
55 | echo 'export PATH=${PATH}' >> $script | 55 | echo 'export PATH=${STAGING_DIR_NATIVE}/usr/bin:${PATH}' >> $script |
56 | echo 'export PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR}' >> $script | 56 | echo 'export PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR}' >> $script |
57 | echo 'export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}' >> $script | 57 | echo 'export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}' >> $script |
58 | 58 | ||
diff --git a/meta/recipes-core/meta/meta-ide-support.bb b/meta/recipes-core/meta/meta-ide-support.bb index 326b25a09c..130b1c9494 100644 --- a/meta/recipes-core/meta/meta-ide-support.bb +++ b/meta/recipes-core/meta/meta-ide-support.bb | |||
@@ -3,8 +3,8 @@ LICENSE = "MIT" | |||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ |
4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
5 | 5 | ||
6 | DEPENDS = "virtual/libc gdb-cross qemu-helper-native unfs-server-native" | 6 | DEPENDS = "virtual/libc gdb-cross qemu-native qemu-helper-native unfs-server-native" |
7 | PR = "r2" | 7 | PR = "r3" |
8 | 8 | ||
9 | inherit meta toolchain-scripts | 9 | inherit meta toolchain-scripts |
10 | 10 | ||