aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2021-09-24 12:27:42 +0800
committerNaveen Saini <naveen.kumar.saini@intel.com>2021-09-27 11:07:51 +0800
commited0060926eca8d7307c0424d4f72d06e8c7f166e (patch)
treeb4f4d4b9b8e6e147242e22a0312cc154b3165b6e
parenta021a1ab4ece92e00871dfc8871dc846e17e60d7 (diff)
downloadmeta-zephyr-ed0060926eca8d7307c0424d4f72d06e8c7f166e.tar.gz
meta-zephyr-ed0060926eca8d7307c0424d4f72d06e8c7f166e.tar.bz2
meta-zephyr-ed0060926eca8d7307c0424d4f72d06e8c7f166e.zip
zephyr-qemuboot: fix parse build failure
As OE-core explicitly have added depends for qemu-helper addto_recipe_sysroot task, which breaks zephyr-qemuboot implementation of adding build dependencies http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=282d596b8cc81d650b6d20c6131fdc236bad2c20 ERROR: Error for meta-zephyr/recipes-kernel/zephyr-kernel/zephyr-helloworld.bb: do_bootconf_write[depends], dependency qemu-helper-native:do_addto_recipe_sysroot:do_addto_recipe_sysroot in ' qemu-helper-native:do_addto_recipe_sysroot:do_addto_recipe_sysroot qemu-helper-native:do_addto_recipe_sysroot:do_populate_sysroot' does not contain exactly one ':' character. Task 'depends' should be specified in the form 'packagename:task' ERROR: Command execution failed: Exited with 1 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
-rw-r--r--classes/zephyr-qemuboot.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/zephyr-qemuboot.bbclass b/classes/zephyr-qemuboot.bbclass
index c268e9e..b45e6f6 100644
--- a/classes/zephyr-qemuboot.bbclass
+++ b/classes/zephyr-qemuboot.bbclass
@@ -48,7 +48,7 @@ python () {
for dep in (d.getVar('EXTRA_IMAGEDEPENDS') or "").split():
# Make sure we only add it for qemu
if 'qemu-helper-native' in dep:
- deps += " %s:%s" % (dep, task)
+ deps += " qemu-helper-native:%s" % (task)
return deps
d.appendVarFlag('do_bootconf_write', 'depends', extraimage_getdepends('do_addto_recipe_sysroot'))
d.appendVarFlag('do_bootconf_write', 'depends', extraimage_getdepends('do_populate_sysroot'))