diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2019-12-20 07:02:36 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2020-02-18 04:49:44 +0300 |
commit | 708f0cc808588b2b08fcfce91271b2b5e9c9f827 (patch) | |
tree | 8f6bbedf6aab7e01619b8f0fcdfebe404c6fea77 /meta-phosphor | |
parent | 4b6355704c58e4cd9d797567f71a32ca76825ef4 (diff) | |
download | openbmc-708f0cc808588b2b08fcfce91271b2b5e9c9f827.tar.xz |
mctp: Add MCTP package recipe
This change adds a recipe for the libmctp sources, which provide a
library implementing the MCTP base protocol, plus a demulitplexer daemon
to provide a socket-based interface for client applications.
This is covered in the mctp design document:
https://github.com/openbmc/docs/blob/master/designs/mctp.md
(From meta-phosphor rev: 5c7f42ef14ab27aee7ec6166ecdc38a16076e7c1)
Change-Id: I56f5c47aa0689fe57b21f8776b1ed8a86061c007
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/recipes-phosphor/mctp/files/default | 1 | ||||
-rw-r--r-- | meta-phosphor/recipes-phosphor/mctp/mctp_git.bb | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/mctp/files/default b/meta-phosphor/recipes-phosphor/mctp/files/default new file mode 100644 index 000000000..cb33e8b61 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/mctp/files/default @@ -0,0 +1 @@ +DEMUX_BINDING_OPTS=null diff --git a/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb b/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb new file mode 100644 index 000000000..a2577cfc4 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb @@ -0,0 +1,28 @@ +SUMMARY = "MCTP stack" +DESCRIPTION = "MCTP library implementing the MCTP base specification" +PR = "r1" +PV = "1.0+git${SRCPV}" + +inherit systemd +inherit autotools pkgconfig + +HOMEPAGE = "https://github.com/openbmc/libmctp" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0d30807bb7a4f16d36e96b78f9ed8fae" +SRC_URI = "git://github.com/openbmc/libmctp \ + file://default" +SRCREV = "34b9b3d82b049610775aea4460ff0f3bb9f02b1d" +CONFFILES_${PN} = "${sysconfdir}/default/mctp" + +DEPENDS += "autoconf-archive-native \ + systemd \ + " + +SYSTEMD_SERVICE_${PN} = "mctp-demux.service" + +do_install_append() { + install -d ${D}${sysconfdir}/default + install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/mctp +} + +S = "${WORKDIR}/git" |