Jason M. Bills | 267243e | 2018-10-05 09:17:31 -0700 | [diff] [blame] | 1 | SUMMARY = "Intel OEM IPMI commands" |
| 2 | DESCRIPTION = "Intel OEM IPMI commands" |
| 3 | |
| 4 | LICENSE = "Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a6a4edad4aed50f39a66d098d74b265b" |
| 6 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 7 | SRC_URI = "git://github.com/openbmc/intel-ipmi-oem;branch=master;protocol=https" |
Andrew Geissler | f4df497 | 2022-05-13 04:10:05 +0000 | [diff] [blame^] | 8 | SRCREV = "429b085783f258da89d5c5b2979ba7030aef4d2b" |
Jason M. Bills | 267243e | 2018-10-05 09:17:31 -0700 | [diff] [blame] | 9 | |
| 10 | S = "${WORKDIR}/git" |
| 11 | PV = "0.1+git${SRCPV}" |
| 12 | |
Zhikui Ren | cffd121 | 2019-12-06 15:20:19 -0800 | [diff] [blame] | 13 | DEPENDS = "boost phosphor-ipmi-host phosphor-logging systemd intel-dbus-interfaces libgpiod" |
Jason M. Bills | 267243e | 2018-10-05 09:17:31 -0700 | [diff] [blame] | 14 | |
| 15 | inherit cmake obmc-phosphor-ipmiprovider-symlink |
| 16 | |
| 17 | EXTRA_OECMAKE="-DENABLE_TEST=0 -DYOCTO=1" |
| 18 | |
Richard Marian Thomaiyar | f696ab1 | 2018-11-14 23:35:09 +0530 | [diff] [blame] | 19 | LIBRARY_NAMES = "libzinteloemcmds.so" |
Jason M. Bills | 267243e | 2018-10-05 09:17:31 -0700 | [diff] [blame] | 20 | |
| 21 | HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 22 | NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| 23 | |
Jae Hyun Yoo | 24e16a2 | 2021-08-06 10:55:59 -0700 | [diff] [blame] | 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}" |
Richard Marian Thomaiyar | 40ce406 | 2018-11-21 19:21:07 +0530 | [diff] [blame] | 28 | |
Jae Hyun Yoo | 24e16a2 | 2021-08-06 10:55:59 -0700 | [diff] [blame] | 29 | do_install:append(){ |
Richard Marian Thomaiyar | 40ce406 | 2018-11-21 19:21:07 +0530 | [diff] [blame] | 30 | install -d ${D}${includedir}/intel-ipmi-oem |
| 31 | install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/intel-ipmi-oem |
Richard Marian Thomaiyar | f696ab1 | 2018-11-14 23:35:09 +0530 | [diff] [blame] | 32 | } |