blob: c0052cbbd1d16567ad4b5c3701ad27d3decf1758 [file] [log] [blame]
Sui Chenbc63f792021-03-17 17:10:55 -07001SUMMARY = "gBMC Health Metrics Blob"
2DESCRIPTION = "BMC health metrics IPMI blob handler."
William A. Kennington III511bd612021-03-24 11:12:07 -07003GOOGLE_MISC_PROJ = "metrics-ipmi-blobs"
Sui Chenbc63f792021-03-17 17:10:55 -07004
William A. Kennington III511bd612021-03-24 11:12:07 -07005require ../google-misc/google-misc.inc
Sui Chenbc63f792021-03-17 17:10:55 -07006
William A. Kennington III511bd612021-03-24 11:12:07 -07007inherit pkgconfig
Sui Chenbc63f792021-03-17 17:10:55 -07008
William A. Kennington III511bd612021-03-24 11:12:07 -07009DEPENDS += " \
10 phosphor-ipmi-blobs \
11 phosphor-logging \
12 protobuf-native \
13 protobuf \
14 "
Sui Chenbc63f792021-03-17 17:10:55 -070015
William A. Kennington III511bd612021-03-24 11:12:07 -070016FILES_${PN} += " \
17 ${libdir}/ipmid-providers/libmetricsblob.so* \
18 ${libdir}/blob-ipmid/libmetricsblob.so* \
19 "
Sui Chenbc63f792021-03-17 17:10:55 -070020BLOBIPMI_PROVIDER_LIBRARY += "libmetricsblob.so"
21
William A. Kennington III511bd612021-03-24 11:12:07 -070022INSANE_SKIP_${PN} += "dev-so"
23
William A. Kennington III45c00832021-06-04 18:10:33 -070024EXTRA_OEMESON += "-Dtests=disabled"
25
Sui Chenbc63f792021-03-17 17:10:55 -070026do_install_append() {
William A. Kennington III511bd612021-03-24 11:12:07 -070027 install -d ${D}/${libdir}/blob-ipmid
28 ln -s ../ipmid-providers/libmetricsblob.so ${D}/${libdir}/blob-ipmid/libmetricsblob.so.0
Sui Chenbc63f792021-03-17 17:10:55 -070029}