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 | |
| 11 | inherit cmake systemd |
| 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" |
| 30 | SRC_URI = "git://github.com/openbmc/smbios-mdr.git" |
Andrew Geissler | 2e7aa0a | 2021-09-10 22:11:09 +0000 | [diff] [blame^] | 31 | SRCREV = "ecbd71baa68d0c2834614d84f24de7d369a51ce4" |
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)}" |