diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/mctp')
-rw-r--r-- | meta-phosphor/recipes-phosphor/mctp/mctp_git.bb | 17 |
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 |