diff options
author | Ross Burton <ross.burton@arm.com> | 2025-08-04 20:52:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-07 12:11:15 +0100 |
commit | cb829cdd752f27a7a938b5bca772a9ab906aaa5e (patch) | |
tree | 9ba309464965354b45d1a380184059ed5f5ea680 | |
parent | a78cf57aa35fba53db5c0dde6c0b0d1b609f1814 (diff) | |
download | poky-cb829cdd752f27a7a938b5bca772a9ab906aaa5e.tar.gz |
dbus-glib: package the binding tool into PN-tools, enable nativesdk
In a SDK environment we need a nativesdk build of dbus-glib for the
dbus-binding-tool binary. Add a nativesdk variation and put the tool into
a -tools subpackage so it can be installed if needed.
(From OE-Core rev: bce011ebc21b402cc83c3b17063d2277b6347a68)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/dbus/dbus-glib_0.114.bb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-core/dbus/dbus-glib_0.114.bb b/meta/recipes-core/dbus/dbus-glib_0.114.bb index 28a9d4a4fc..ff3d282ac6 100644 --- a/meta/recipes-core/dbus/dbus-glib_0.114.bb +++ b/meta/recipes-core/dbus/dbus-glib_0.114.bb | |||
@@ -29,16 +29,19 @@ PACKAGECONFIG ??= "" | |||
29 | PACKAGECONFIG[tests] = "--enable-tests,,," | 29 | PACKAGECONFIG[tests] = "--enable-tests,,," |
30 | 30 | ||
31 | EXTRA_OECONF:class-target = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" | 31 | EXTRA_OECONF:class-target = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" |
32 | EXTRA_OECONF:class-nativesdk = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" | ||
32 | 33 | ||
33 | PACKAGES += "${PN}-tests" | 34 | PACKAGES += "${PN}-tests ${PN}-tools" |
34 | 35 | ||
35 | FILES:${PN} = "${libdir}/lib*${SOLIBS}" | 36 | FILES:${PN} = "${libdir}/lib*${SOLIBS}" |
36 | FILES:${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" | 37 | FILES:${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" |
37 | LICENSE:${PN}-bash-completion = "GPL-2.0-or-later" | 38 | LICENSE:${PN}-bash-completion = "GPL-2.0-or-later" |
38 | FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" | 39 | |
39 | FILES:${PN}-dev += "${bindir}/dbus-binding-tool" | 40 | RDEPENDS:${PN}-dev += "${PN}-tools" |
40 | 41 | ||
41 | RDEPENDS:${PN}-tests = "${PN}" | 42 | RDEPENDS:${PN}-tests = "${PN}" |
42 | FILES:${PN}-tests = "${datadir}/${BPN}/tests" | 43 | FILES:${PN}-tests = "${datadir}/${BPN}/tests" |
43 | 44 | ||
44 | BBCLASSEXTEND = "native" | 45 | FILES:${PN}-tools = "${bindir}" |
46 | |||
47 | BBCLASSEXTEND = "native nativesdk" | ||