]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu-helper-native: prepare native sysroot for runqemu
authorbrian avery <brian.avery@intel.com>
Wed, 12 Apr 2017 20:40:56 +0000 (23:40 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Apr 2017 22:55:54 +0000 (23:55 +0100)
Make sure that native sysroot contains qemu and tunctl binaries for
runqemu usage:
  - excluded native sysroot from rm_work
  - added qemu-native to DEPENDS to put qemu binaries into native sysroot
  - forced addto_recipe_sysroot task

[YOCTO #11266]
[YOCTO #11193]

Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb

index 8d27c4db61e20c522bb4736bdd2ef30554b3e236..27d53157db120003b62b9c4beaf0467e60b2719b 100644 (file)
@@ -19,3 +19,7 @@ do_install() {
        install -d ${D}${bindir}
        install tunctl ${D}${bindir}/
 }
+
+RM_WORK_EXCLUDE_ITEMS += "recipe-sysroot-native"
+DEPENDS += "qemu-native"
+addtask addto_recipe_sysroot after do_populate_sysroot before do_build