Jie Yang | 720e4b0 | 2021-07-23 02:30:19 -0700 | [diff] [blame] | 1 | SUMMARY = "Extract CPU and Memory Inventory from SMSMBIOS Table and PECI" |
| 2 | DESCRIPTION = "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 Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 3 | HOMEPAGE = "http://github.com/openbmc/smbios-mdr" |
Jie Yang | 720e4b0 | 2021-07-23 02:30:19 -0700 | [diff] [blame] | 4 | LICENSE = "Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Jie Yang | 720e4b0 | 2021-07-23 02:30:19 -0700 | [diff] [blame] | 6 | DEPENDS += " \ |
| 7 | boost \ |
| 8 | systemd \ |
| 9 | sdbusplus \ |
| 10 | phosphor-dbus-interfaces \ |
| 11 | phosphor-logging \ |
| 12 | " |
Andrew Geissler | abccf30 | 2023-08-21 03:00:24 -0500 | [diff] [blame] | 13 | SRCREV = "21cb0e8750b76fff5860b985d8122fd653ca8a1f" |
Jie Yang | 720e4b0 | 2021-07-23 02:30:19 -0700 | [diff] [blame] | 14 | PACKAGECONFIG ?= "cpuinfo" |
Jonathan Doman | a0ecf98 | 2023-07-26 11:39:50 -0700 | [diff] [blame] | 15 | PACKAGECONFIG[smbios-no-dimm] = "-Ddimm-dbus=disabled,-Ddimm-dbus=enabled" |
| 16 | PACKAGECONFIG[cpuinfo] = "-Dcpuinfo=enabled,-Dcpuinfo=disabled,libpeci i2c-tools" |
| 17 | PACKAGECONFIG[smbios-ipmi-blob] = "-Dsmbios-ipmi-blob=enabled,-Dsmbios-ipmi-blob=disabled,phosphor-ipmi-blobs" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 18 | PV = "1.0+git${SRCPV}" |
| 19 | PR = "r1" |
Jie Yang | 720e4b0 | 2021-07-23 02:30:19 -0700 | [diff] [blame] | 20 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 21 | SRC_URI = "git://github.com/openbmc/smbios-mdr.git;branch=master;protocol=https" |
Jie Yang | 720e4b0 | 2021-07-23 02:30:19 -0700 | [diff] [blame] | 22 | |
| 23 | S = "${WORKDIR}/git" |
Jie Yang | 720e4b0 | 2021-07-23 02:30:19 -0700 | [diff] [blame] | 24 | SYSTEMD_SERVICE:${PN} += "smbios-mdrv2.service" |
| 25 | SYSTEMD_SERVICE:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'cpuinfo', 'xyz.openbmc_project.cpuinfo.service', '', d)}" |
| 26 | |
Jonathan Doman | a0ecf98 | 2023-07-26 11:39:50 -0700 | [diff] [blame] | 27 | inherit meson pkgconfig systemd |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 28 | |
Jonathan Doman | a0ecf98 | 2023-07-26 11:39:50 -0700 | [diff] [blame] | 29 | FILES:${PN} += "${libdir}/blob-ipmid" |