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 | |
| 9 | DEPENDS = "boost phosphor-ipmi-host phosphor-logging systemd libgpiod" |
| 10 | |
Thang Q. Nguyen | 18a6b18 | 2022-02-17 06:26:30 +0000 | [diff] [blame] | 11 | inherit cmake pkgconfig obmc-phosphor-ipmiprovider-symlink |
Hieu Huynh | f3911cd | 2021-09-24 02:44:10 +0000 | [diff] [blame] | 12 | |
| 13 | EXTRA_OECMAKE="-DENABLE_TEST=0 -DYOCTO=1" |
| 14 | |
| 15 | LIBRARY_NAMES = "libzampoemcmds.so" |
| 16 | |
| 17 | S = "${WORKDIR}/git" |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 18 | SRC_URI = "git://github.com/openbmc/ampere-ipmi-oem.git;branch=master;protocol=https" |
Andrew Geissler | 6b44386 | 2022-08-05 02:30:03 -0500 | [diff] [blame] | 19 | SRCREV = "14b2feea99509c5757404b166d23c88932768ecb" |
Hieu Huynh | f3911cd | 2021-09-24 02:44:10 +0000 | [diff] [blame] | 20 | |
| 21 | HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 22 | NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 23 | |
| 24 | FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" |
| 25 | FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}" |
| 26 | FILES:${PN}:append = " ${libdir}/net-ipmid/lib*${SOLIBS}" |
| 27 | FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}" |
| 28 | |
| 29 | do_install:append(){ |
| 30 | install -d ${D}${includedir}/ampere-ipmi-oem |
| 31 | install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/ampere-ipmi-oem |
| 32 | } |