Hieu Huynh | f3911cd | 2021-09-24 02:44:10 +0000 | [diff] [blame] | 1 | SUMMARY = "Ampere OEM IPMI commands" |
| 2 | DESCRIPTION = "Ampere OEM IPMI commands" |
| 3 | |
| 4 | LICENSE = "Apache-2.0" |
| 5 | S = "${WORKDIR}" |
| 6 | |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 8 | |
Hieu Huynh | 37f23d8 | 2022-08-03 07:16:33 +0000 | [diff] [blame] | 9 | DEPENDS = "boost phosphor-ipmi-host phosphor-logging systemd" |
Hieu Huynh | f3911cd | 2021-09-24 02:44:10 +0000 | [diff] [blame] | 10 | |
Hieu Huynh | 37f23d8 | 2022-08-03 07:16:33 +0000 | [diff] [blame] | 11 | inherit meson pkgconfig obmc-phosphor-ipmiprovider-symlink |
Hieu Huynh | f3911cd | 2021-09-24 02:44:10 +0000 | [diff] [blame] | 12 | |
| 13 | LIBRARY_NAMES = "libzampoemcmds.so" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 16 | SRC_URI = "git://github.com/openbmc/ampere-ipmi-oem.git;branch=master;protocol=https" |
Andrew Geissler | a755a62 | 2022-11-08 00:20:12 -0600 | [diff] [blame] | 17 | SRCREV = "2a19152956defafd7d9c5344b376a428e878c507" |
Hieu Huynh | f3911cd | 2021-09-24 02:44:10 +0000 | [diff] [blame] | 18 | |
| 19 | HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 20 | NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 21 | |
| 22 | FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" |
| 23 | FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}" |
| 24 | FILES:${PN}:append = " ${libdir}/net-ipmid/lib*${SOLIBS}" |
| 25 | FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}" |
| 26 | |
| 27 | do_install:append(){ |
| 28 | install -d ${D}${includedir}/ampere-ipmi-oem |
| 29 | install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/ampere-ipmi-oem |
| 30 | } |