Skip to contentSkip to conversation

meta-ide-support: Add native qemu support for meta-ide-support

PATCH Applied Jessica Zhang 2 participants 3 messages Jul 16, 2012 – Jul 19, 2012

lore
Share & tools
lore
#0 lore raw

v2 cover meta-ide-support: Add native qemu support for meta-ide-support

The following changes since commit 35ebbe234997e85d6aa47a77d98f815a4d9dafff:

Merge branch 'master' of git://git.yoctoproject.org/poky (2012-07-16 10:44:49 -0700)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib jzhang/2761-v2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=master

Jessica Zhang (1):
meta-ide-support: Add native qemu support for meta-ide-support

 meta/classes/toolchain-scripts.bbclass     |    2 +-
 meta/recipes-core/meta/meta-ide-support.bb |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.7
#1 lore raw

PATCH v2 1/1 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.

---
 meta/classes/toolchain-scripts.bbclass     |    2 +-
 meta/recipes-core/meta/meta-ide-support.bb |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
meta/classes/toolchain-scripts.bbclass +1 -1
index bedcd61..0a0ac47 100644
@@ -43,7 +43,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
 
meta/recipes-core/meta/meta-ide-support.bb +2 -2
index 326b25a..130b1c9 100644
@@ -3,8 +3,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
-DEPENDS = "virtual/libc gdb-cross qemu-helper-native unfs-server-native"
-PR = "r2"
+DEPENDS = "virtual/libc gdb-cross qemu-native qemu-helper-native unfs-server-native"
+PR = "r3"
 
 inherit meta toolchain-scripts
 
Signature · 1 line
1.7.7
Applied
#2 lore raw
In reply to Jessica Zhang
Quoted 9 lines · Jessica Zhang

The following changes since commit 35ebbe234997e85d6aa47a77d98f815a4d9dafff:

   Merge branch 'master' of git://git.yoctoproject.org/poky (2012-07-16 10:44:49 -0700)

are available in the git repository at:

   git://git.yoctoproject.org/poky-contrib jzhang/2761-v2
   http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=master
Quoted 7 lines

Jessica Zhang (1):
meta-ide-support: Add native qemu support for meta-ide-support

  meta/classes/toolchain-scripts.bbclass     |    2 +-
  meta/recipes-core/meta/meta-ide-support.bb |    4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)

Merged into OE-Core

Thanks
Sau!