blob: d21afef9115ec9d3de628db98459a831e1b6094f [file] [log] [blame]
Jie Yang720e4b02021-07-23 02:30:19 -07001SUMMARY = "Extract CPU and Memory Inventory from SMSMBIOS Table and PECI"
2DESCRIPTION = "This package parses SMBIOS tables, reads Intel CPU PIROM and PECI and provides a dedicated IPMI blob to receive SMBIOS tables sent from LinuxBoot"
Ed Tanous9936f862022-09-19 09:13:20 -07003HOMEPAGE = "http://github.com/openbmc/smbios-mdr"
Jie Yang720e4b02021-07-23 02:30:19 -07004LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
Jie Yang720e4b02021-07-23 02:30:19 -07006DEPENDS += " \
7 boost \
8 systemd \
9 sdbusplus \
10 phosphor-dbus-interfaces \
11 phosphor-logging \
12 "
Andrew Geissler9d140cf2024-06-15 02:51:01 -050013SRCREV = "7190f3a326cadca9fd8382aa38a78405faf67ac5"
Jonathan Domana0ecf982023-07-26 11:39:50 -070014PACKAGECONFIG[smbios-no-dimm] = "-Ddimm-dbus=disabled,-Ddimm-dbus=enabled"
Jonathan Doman18463312024-03-28 12:15:48 -070015PACKAGECONFIG[cpuinfo] = "-Dcpuinfo=enabled,-Dcpuinfo=disabled,i2c-tools"
16PACKAGECONFIG[cpuinfo-peci] = "-Dcpuinfo-peci=enabled,-Dcpuinfo-peci=disabled,libpeci"
Jonathan Domana0ecf982023-07-26 11:39:50 -070017PACKAGECONFIG[smbios-ipmi-blob] = "-Dsmbios-ipmi-blob=enabled,-Dsmbios-ipmi-blob=disabled,phosphor-ipmi-blobs"
Josh Lehan6f6c4bd2024-01-27 22:49:50 -080018PACKAGECONFIG[assoc-trim-path] = "-Dassoc-trim-path=enabled,-Dassoc-trim-path=disabled"
Ed Tanous9936f862022-09-19 09:13:20 -070019PV = "1.0+git${SRCPV}"
20PR = "r1"
Jie Yang720e4b02021-07-23 02:30:19 -070021
Ed Tanous9936f862022-09-19 09:13:20 -070022SRC_URI = "git://github.com/openbmc/smbios-mdr.git;branch=master;protocol=https"
Jie Yang720e4b02021-07-23 02:30:19 -070023
24S = "${WORKDIR}/git"
Jie Yang720e4b02021-07-23 02:30:19 -070025SYSTEMD_SERVICE:${PN} += "smbios-mdrv2.service"
26SYSTEMD_SERVICE:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'cpuinfo', 'xyz.openbmc_project.cpuinfo.service', '', d)}"
27
Jonathan Domana0ecf982023-07-26 11:39:50 -070028inherit meson pkgconfig systemd
Ed Tanous9936f862022-09-19 09:13:20 -070029
Jonathan Domana0ecf982023-07-26 11:39:50 -070030FILES:${PN} += "${libdir}/blob-ipmid"