From debf2b5d689c9d308bc752f5aab3367c05152dc3 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 2 Sep 2021 13:20:09 +0800 Subject: meta-phosphor: rename mctp package to libmctp We're about to introduce a package for mctp utilities, called 'mctp'. However, the libmctp package already uses that name. This change renames 'mctp' to the upstream name of 'libmctp'. Signed-off-by: Jeremy Kerr Change-Id: Ia49a40c822e920d3bc36584cbc2c97b83828cfdd --- .../recipes-phosphor/libmctp/files/default | 1 + .../recipes-phosphor/libmctp/libmctp_git.bb | 37 ++++++++++++++++++++++ meta-phosphor/recipes-phosphor/mctp/files/default | 1 - meta-phosphor/recipes-phosphor/mctp/mctp_git.bb | 37 ---------------------- 4 files changed, 38 insertions(+), 38 deletions(-) create mode 100644 meta-phosphor/recipes-phosphor/libmctp/files/default create mode 100644 meta-phosphor/recipes-phosphor/libmctp/libmctp_git.bb delete mode 100644 meta-phosphor/recipes-phosphor/mctp/files/default delete mode 100644 meta-phosphor/recipes-phosphor/mctp/mctp_git.bb (limited to 'meta-phosphor') diff --git a/meta-phosphor/recipes-phosphor/libmctp/files/default b/meta-phosphor/recipes-phosphor/libmctp/files/default new file mode 100644 index 000000000..cb33e8b61 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/libmctp/files/default @@ -0,0 +1 @@ +DEMUX_BINDING_OPTS=null diff --git a/meta-phosphor/recipes-phosphor/libmctp/libmctp_git.bb b/meta-phosphor/recipes-phosphor/libmctp/libmctp_git.bb new file mode 100644 index 000000000..54d6b73e4 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/libmctp/libmctp_git.bb @@ -0,0 +1,37 @@ +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 = "edebe169ebefd6410d74850bbce1ea599c347753" + +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" + +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 + install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/mctp +} + +S = "${WORKDIR}/git" diff --git a/meta-phosphor/recipes-phosphor/mctp/files/default b/meta-phosphor/recipes-phosphor/mctp/files/default deleted file mode 100644 index cb33e8b61..000000000 --- a/meta-phosphor/recipes-phosphor/mctp/files/default +++ /dev/null @@ -1 +0,0 @@ -DEMUX_BINDING_OPTS=null diff --git a/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb b/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb deleted file mode 100644 index 54d6b73e4..000000000 --- a/meta-phosphor/recipes-phosphor/mctp/mctp_git.bb +++ /dev/null @@ -1,37 +0,0 @@ -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 = "edebe169ebefd6410d74850bbce1ea599c347753" - -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" - -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 - install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/mctp -} - -S = "${WORKDIR}/git" -- cgit v1.2.3