qemu: Clean up DEPENDS

Move the common dependencies to qemu.inc for cleaner entries in the
various recipes. Remove an unneeded inherit.

(From OE-Core rev: 6e7c2ae575b8f04fd117cc56980bb25113f343a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2023-12-20 10:07:07 +00:00
parent 321aebfa28
commit 85c88f8332
4 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -1,13 +1,11 @@
BPN = "qemu"
inherit python3-dir
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 meson-native ninja-native"
DEPENDS += "glib-2.0-native zlib-native pixman-native qemu-native"
EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}"

View File

@@ -6,6 +6,8 @@ a variety of guest operating systems"
HOMEPAGE = "http://qemu.org"
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
DEPENDS += "bison-native meson-native ninja-native"
RDEPENDS:${PN}-ptest = "bash"
require qemu-targets.inc

View File

@@ -2,7 +2,7 @@ BBCLASSEXTEND = "nativesdk"
require qemu.inc
DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native"
DEPENDS += "glib-2.0 zlib pixman"
DEPENDS:append:libc-musl = " libucontext"