Sui Chen | bc63f79 | 2021-03-17 17:10:55 -0700 | [diff] [blame] | 1 | HOMEPAGE = "http://github.com/openbmc/google-misc" |
| 2 | SUMMARY = "gBMC Health Metrics Blob" |
| 3 | DESCRIPTION = "BMC health metrics IPMI blob handler." |
| 4 | PR = "r1" |
| 5 | PV = "0.1+git${SRCPV}" |
| 6 | LICENSE = "Apache-2.0" |
| 7 | |
| 8 | inherit meson pkgconfig |
| 9 | |
| 10 | DEPENDS += "phosphor-ipmi-blobs" |
| 11 | DEPENDS += "phosphor-logging" |
| 12 | DEPENDS += "protobuf-native" |
| 13 | DEPENDS += "protobuf" |
| 14 | |
| 15 | SRC_URI = "git://github.com/openbmc/google-misc" |
| 16 | SRCREV = "3f43b7eebe17c96c13643018c927f38c0a071868" |
| 17 | S = "${WORKDIR}/git/metrics-ipmi-blobs" |
| 18 | |
| 19 | FILES_${PN} += "${libdir}/ipmid-providers/libmetricsblob.so*" |
| 20 | FILES_${PN} += "${libdir}/blob-ipmid/libmetricsblob.so*" |
| 21 | INSANE_SKIP_${PN} += "dev-so" |
| 22 | |
| 23 | BLOBIPMI_PROVIDER_LIBRARY += "libmetricsblob.so" |
| 24 | |
| 25 | do_install_append() { |
| 26 | install -d ${D}/${libdir}/blob-ipmid |
| 27 | ln -s ../ipmid-providers/libmetricsblob.so ${D}/${libdir}/blob-ipmid/libmetricsblob.so.0 |
| 28 | } |