Jie Yang | 720e4b0 | 2021-07-23 02:30:19 -0700 | [diff] [blame] | 1 | HOMEPAGE = "http://github.com/openbmc/smbios-mdr" |
| 2 | SUMMARY = "Extract CPU and Memory Inventory from SMSMBIOS Table and PECI" |
| 3 | 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" |
| 4 | |
| 5 | PR = "r1" |
| 6 | PV = "1.0+git${SRCPV}" |
| 7 | |
| 8 | LICENSE = "Apache-2.0" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
| 10 | |
Patrick Williams | 691a8e0 | 2021-12-13 18:00:02 -0600 | [diff] [blame] | 11 | inherit cmake pkgconfig systemd |
Jie Yang | 720e4b0 | 2021-07-23 02:30:19 -0700 | [diff] [blame] | 12 | inherit obmc-phosphor-ipmiprovider-symlink |
| 13 | |
| 14 | DEPENDS += " \ |
| 15 | boost \ |
| 16 | systemd \ |
| 17 | sdbusplus \ |
| 18 | phosphor-dbus-interfaces \ |
| 19 | phosphor-logging \ |
| 20 | " |
| 21 | |
| 22 | PACKAGECONFIG ?= "cpuinfo" |
| 23 | PACKAGECONFIG[smbios-no-dimm] = "-DDIMM_DBUS=OFF,-DDIMM_DBUS=ON" |
| 24 | PACKAGECONFIG[cpuinfo] = "-DCPU_INFO=ON,-DCPU_INFO=OFF,libpeci i2c-tools" |
| 25 | PACKAGECONFIG[smbios-ipmi-blob] = "-DIPMI_BLOB=ON,-DIPMI_BLOB=OFF,phosphor-ipmi-blobs" |
| 26 | |
| 27 | EXTRA_OECMAKE = "-DYOCTO=ON" |
| 28 | |
| 29 | S = "${WORKDIR}/git" |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 30 | SRC_URI = "git://github.com/openbmc/smbios-mdr.git;branch=master;protocol=https" |
Andrew Geissler | a314432 | 2022-08-29 08:22:11 -0500 | [diff] [blame] | 31 | SRCREV = "b492838a92351ecae20a80c9f3c176507f6f72f4" |
Jie Yang | 720e4b0 | 2021-07-23 02:30:19 -0700 | [diff] [blame] | 32 | |
| 33 | SYSTEMD_SERVICE:${PN} += "smbios-mdrv2.service" |
| 34 | SYSTEMD_SERVICE:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'cpuinfo', 'xyz.openbmc_project.cpuinfo.service', '', d)}" |
| 35 | |
| 36 | FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" |
| 37 | FILES:${PN}:append = " ${libdir}/blob-ipmid/lib*${SOLIBS}" |
| 38 | FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}" |
| 39 | BLOBIPMI_PROVIDER_LIBRARY += "${@bb.utils.contains('PACKAGECONFIG', 'smbios-ipmi-blob', 'libsmbiosstore.so', '', d)}" |