qemu-native: add direct dependency on ninja-native and meson-native

* with many native dependencies excluded in:
  layer.conf: Extend recipes not to install without explict dependencies
  this was now failing with:
  ERROR: Cannot find Ninja
  and after adding ninja-native to DEPENDS it was failing due to missing meson as well:
  /OE/build/oe-core/tmp-glibc/work/x86_64-linux/qemu-native/6.0.0-r0/qemu-6.0.0/configure: 6415: --version: not found
  /OE/build/oe-core/tmp-glibc/work/x86_64-linux/qemu-native/6.0.0-r0/qemu-6.0.0/configure: 6418: setup: not found

(From OE-Core rev: 7b2dfb49105e6465c5436869863e6a9720c60bbd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa 2021-09-20 17:11:57 +02:00 committed by Richard Purdie
parent 50c1efdeb9
commit 689097cdf3
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
BPN = "qemu"
DEPENDS = "glib-2.0-native zlib-native"
DEPENDS = "glib-2.0-native zlib-native ninja-native meson-native"
require qemu-native.inc

View File

@ -7,7 +7,7 @@ require qemu-native.inc
# As some of the files installed by qemu-native and qemu-system-native
# are the same, we depend on qemu-native to get the full installation set
# and avoid file clashes
DEPENDS = "glib-2.0-native zlib-native pixman-native qemu-native bison-native"
DEPENDS = "glib-2.0-native zlib-native pixman-native qemu-native bison-native meson-native ninja-native"
EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}"