summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2021-07-30 00:16:52 +0300
committerJason M. Bills <jason.m.bills@linux.intel.com>2021-07-30 00:16:52 +0300
commitbb6a14e2f317abf60677c6ad8de9c33d5760bf36 (patch)
tree00457d3677e86437cec25fd7dab6c4513a53b1a4 /meta-phosphor/recipes-phosphor/mctp/mctp_git.bb
parentdefdca82c107f46e980c84bffb1b2c1263522fa0 (diff)
parentcf6fd27dbd8e2d1b507f8c3752b85801b2c6ef57 (diff)
downloadopenbmc-bb6a14e2f317abf60677c6ad8de9c33d5760bf36.tar.xz
Merge tag '0.63' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into update
Diffstat (limited to 'meta-phosphor/recipes-phosphor/mctp/mctp_git.bb')
-rw-r--r--meta-phosphor/recipes-phosphor/mctp/mctp_git.bb17
1 files changed, 13 insertions, 4 deletions
diff --git a/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb b/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb
index 475d2a284..eedecb7f8 100644
--- a/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb
+++ b/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb
@@ -11,14 +11,23 @@ LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0d30807bb7a4f16d36e96b78f9ed8fae"
SRC_URI = "git://github.com/openbmc/libmctp \
file://default"
-SRCREV = "9f5b47a5844023719b84855cb6c554271c95ee4a"
-CONFFILES_${PN} = "${sysconfdir}/default/mctp"
+SRCREV = "cfeaef8ecb0ab8c59ea4e145603523e599d60014"
DEPENDS += "autoconf-archive-native \
systemd \
- "
+ "
+
+SYSTEMD_SERVICE_${PN} = "mctp-demux.service \
+ mctp-demux.socket \
+ "
+
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir}, \
+ --without-systemdsystemunitdir,systemd"
-SYSTEMD_SERVICE_${PN} = "mctp-demux.service"
+PACKAGECONFIG[astlpc-raw-kcs] = "--enable-astlpc-raw-kcs,--disable-astlpc-raw-kcs,udev,udev"
+
+CONFFILES_${PN} = "${sysconfdir}/default/mctp"
do_install_append() {
install -d ${D}${sysconfdir}/default