summaryrefslogtreecommitdiff
path: root/meta/classes/toolchain-scripts.bbclass
diff options
context:
space:
mode:
authorJessica Zhang <jessica.zhang@intel.com>2012-07-16 15:29:07 -0700
committerSaul Wold <sgw@linux.intel.com>2012-07-18 00:34:37 -0700
commit3ea597249c18d73417abe7d7a9d32bba00499914 (patch)
tree727cdcd85a78094d20be102193abad765f03d9f1 /meta/classes/toolchain-scripts.bbclass
parent9ac6da9d0e0b9f7678752ff7b9c91e39c140b4e7 (diff)
downloadopenembedded-core-3ea597249c18d73417abe7d7a9d32bba00499914.tar.gz
openembedded-core-3ea597249c18d73417abe7d7a9d32bba00499914.tar.bz2
openembedded-core-3ea597249c18d73417abe7d7a9d32bba00499914.zip
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. Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r--meta/classes/toolchain-scripts.bbclass2
1 files changed, 1 insertions, 1 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 () {
script=${TMPDIR}/environment-setup-${REAL_MULTIMACH_TARGET_SYS}
rm -f $script
touch $script
- echo 'export PATH=${PATH}' >> $script
+ echo 'export PATH=${STAGING_DIR_NATIVE}/usr/bin:${PATH}' >> $script
echo 'export PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR}' >> $script
echo 'export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}' >> $script