blob: f6cea891d017fb51566e666c0c58ea4368113f39 [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 Geissler3e115fb2024-02-21 18:00:25 -060013SRCREV = "abdccd3af908c96a90b3e890a422a0022f471991"
Jie Yang720e4b02021-07-23 02:30:19 -070014PACKAGECONFIG ?= "cpuinfo"
Jonathan Domana0ecf982023-07-26 11:39:50 -070015PACKAGECONFIG[smbios-no-dimm] = "-Ddimm-dbus=disabled,-Ddimm-dbus=enabled"
16PACKAGECONFIG[cpuinfo] = "-Dcpuinfo=enabled,-Dcpuinfo=disabled,libpeci i2c-tools"
17PACKAGECONFIG[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"