summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-08-04 20:52:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-07 12:11:15 +0100
commitcb829cdd752f27a7a938b5bca772a9ab906aaa5e (patch)
tree9ba309464965354b45d1a380184059ed5f5ea680 /meta/recipes-core
parenta78cf57aa35fba53db5c0dde6c0b0d1b609f1814 (diff)
downloadpoky-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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/dbus/dbus-glib_0.114.bb11
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 ??= ""
29PACKAGECONFIG[tests] = "--enable-tests,,," 29PACKAGECONFIG[tests] = "--enable-tests,,,"
30 30
31EXTRA_OECONF:class-target = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" 31EXTRA_OECONF:class-target = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool"
32EXTRA_OECONF:class-nativesdk = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool"
32 33
33PACKAGES += "${PN}-tests" 34PACKAGES += "${PN}-tests ${PN}-tools"
34 35
35FILES:${PN} = "${libdir}/lib*${SOLIBS}" 36FILES:${PN} = "${libdir}/lib*${SOLIBS}"
36FILES:${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" 37FILES:${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper"
37LICENSE:${PN}-bash-completion = "GPL-2.0-or-later" 38LICENSE:${PN}-bash-completion = "GPL-2.0-or-later"
38FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" 39
39FILES:${PN}-dev += "${bindir}/dbus-binding-tool" 40RDEPENDS:${PN}-dev += "${PN}-tools"
40 41
41RDEPENDS:${PN}-tests = "${PN}" 42RDEPENDS:${PN}-tests = "${PN}"
42FILES:${PN}-tests = "${datadir}/${BPN}/tests" 43FILES:${PN}-tests = "${datadir}/${BPN}/tests"
43 44
44BBCLASSEXTEND = "native" 45FILES:${PN}-tools = "${bindir}"
46
47BBCLASSEXTEND = "native nativesdk"