summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb
diff options
context:
space:
mode:
authorjmbills <jason.m.bills@intel.com>2021-08-03 01:45:08 +0300
committerGitHub <noreply@github.com>2021-08-03 01:45:08 +0300
commit10ad77d5bc86709d8ff7f95e7040e39f1c153903 (patch)
tree307cedb87f4c0a329740c55ac364ed489d1d8fc2 /meta-phosphor/recipes-phosphor/mctp/mctp_git.bb
parentc6b1c6ba7a01b7987d65d61c262c44c320193108 (diff)
parent67327ddc580cb9a85219a534844832a1682780d4 (diff)
downloadopenbmc-10ad77d5bc86709d8ff7f95e7040e39f1c153903.tar.xz
Merge pull request #69 from Intel-BMC/update2021-0.631-0.63
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