blob: 4518f49b5d9aaa4bc74f52df003c8ab17dfb1601 [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
Sui Chenbc63f792021-03-17 17:10:55 -070024do_install_append() {
William A. Kennington III511bd612021-03-24 11:12:07 -070025 install -d ${D}/${libdir}/blob-ipmid
26 ln -s ../ipmid-providers/libmetricsblob.so ${D}/${libdir}/blob-ipmid/libmetricsblob.so.0
Sui Chenbc63f792021-03-17 17:10:55 -070027}