summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2020-05-28 22:59:58 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-06-02 00:07:36 +0300
commit31ee3411c95832cb7c5ddbebd2467849195a84b7 (patch)
treed852ec2e3ee7c3bd4c9b660de7e8cce5889994e9
parent4c3d6d3d2ba45bc47e5d676e6396d2cb12e47446 (diff)
downloadopenbmc-31ee3411c95832cb7c5ddbebd2467849195a84b7.tar.xz
sdbusplus: use meson build
(From meta-phosphor rev: f9eed5e63cb16cf58ccfe14c953e42ba8a194403) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie6fb8b012b5750378f882794f0777e06778722aa Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
-rw-r--r--meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb20
1 files changed, 5 insertions, 15 deletions
diff --git a/meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb b/meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb
index f102c7bf8..49e2f4af2 100644
--- a/meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb
+++ b/meta-phosphor/recipes-extended/sdbusplus/sdbusplus_git.bb
@@ -1,9 +1,8 @@
SUMMARY = "C++ bindings for systemd dbus APIs"
DESCRIPTION = "C++ bindings for systemd dbus APIs."
-inherit autotools pkgconfig
-inherit obmc-phosphor-python3-autotools
-
+inherit meson
+inherit python3native
include sdbusplus-rev.inc
LICENSE = "Apache-2.0"
@@ -12,19 +11,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
S = "${WORKDIR}/git"
DEPENDS += " \
- autoconf-archive-native \
${PYTHON_PN}-inflection-native \
${PYTHON_PN}-mako-native \
${PYTHON_PN}-pyyaml-native \
+ boost \
+ googletest \
+ systemd \
"
-
-PACKAGECONFIG ??= "libsdbusplus"
-PACKAGECONFIG[libsdbusplus] = "--enable-libsdbusplus,--disable-libsdbusplus,systemd,libsystemd"
-
-# Remove unused sdbus++ contents (included in python3-sdbus++ package).
-do_install_append() {
- rm ${D}/${bindir}/sdbus++
- rmdir ${D}/${bindir} || true
- rm -rf ${D}/${PYTHON_SITEPACKAGES_DIR}
- rmdir ${D}/${libdir}/${PYTHON_DIR} || true
-}