Sui Chen | bc63f79 | 2021-03-17 17:10:55 -0700 | [diff] [blame] | 1 | SUMMARY = "gBMC Health Metrics Blob" |
| 2 | DESCRIPTION = "BMC health metrics IPMI blob handler." |
William A. Kennington III | 511bd61 | 2021-03-24 11:12:07 -0700 | [diff] [blame] | 3 | GOOGLE_MISC_PROJ = "metrics-ipmi-blobs" |
Sui Chen | bc63f79 | 2021-03-17 17:10:55 -0700 | [diff] [blame] | 4 | |
William A. Kennington III | 511bd61 | 2021-03-24 11:12:07 -0700 | [diff] [blame] | 5 | require ../google-misc/google-misc.inc |
Sui Chen | bc63f79 | 2021-03-17 17:10:55 -0700 | [diff] [blame] | 6 | |
William A. Kennington III | 511bd61 | 2021-03-24 11:12:07 -0700 | [diff] [blame] | 7 | inherit pkgconfig |
Sui Chen | bc63f79 | 2021-03-17 17:10:55 -0700 | [diff] [blame] | 8 | |
William A. Kennington III | 511bd61 | 2021-03-24 11:12:07 -0700 | [diff] [blame] | 9 | DEPENDS += " \ |
| 10 | phosphor-ipmi-blobs \ |
| 11 | phosphor-logging \ |
| 12 | protobuf-native \ |
| 13 | protobuf \ |
| 14 | " |
Sui Chen | bc63f79 | 2021-03-17 17:10:55 -0700 | [diff] [blame] | 15 | |
William A. Kennington III | 511bd61 | 2021-03-24 11:12:07 -0700 | [diff] [blame] | 16 | FILES_${PN} += " \ |
| 17 | ${libdir}/ipmid-providers/libmetricsblob.so* \ |
| 18 | ${libdir}/blob-ipmid/libmetricsblob.so* \ |
| 19 | " |
Sui Chen | bc63f79 | 2021-03-17 17:10:55 -0700 | [diff] [blame] | 20 | BLOBIPMI_PROVIDER_LIBRARY += "libmetricsblob.so" |
| 21 | |
William A. Kennington III | 511bd61 | 2021-03-24 11:12:07 -0700 | [diff] [blame] | 22 | INSANE_SKIP_${PN} += "dev-so" |
| 23 | |
William A. Kennington III | 45c0083 | 2021-06-04 18:10:33 -0700 | [diff] [blame^] | 24 | EXTRA_OEMESON += "-Dtests=disabled" |
| 25 | |
Sui Chen | bc63f79 | 2021-03-17 17:10:55 -0700 | [diff] [blame] | 26 | do_install_append() { |
William A. Kennington III | 511bd61 | 2021-03-24 11:12:07 -0700 | [diff] [blame] | 27 | install -d ${D}/${libdir}/blob-ipmid |
| 28 | ln -s ../ipmid-providers/libmetricsblob.so ${D}/${libdir}/blob-ipmid/libmetricsblob.so.0 |
Sui Chen | bc63f79 | 2021-03-17 17:10:55 -0700 | [diff] [blame] | 29 | } |