| SUMMARY = "Intel OEM IPMI commands" |
| DESCRIPTION = "Intel OEM IPMI commands" |
| |
| LICENSE = "Apache-2.0" |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=a6a4edad4aed50f39a66d098d74b265b" |
| |
| SRC_URI = "git://github.com/openbmc/intel-ipmi-oem" |
| SRCREV = "360f593bf03ddc7e130c49a949a21b307d0c5262" |
| |
| S = "${WORKDIR}/git" |
| PV = "0.1+git${SRCPV}" |
| |
| DEPENDS = "boost phosphor-ipmi-host systemd microsoft-gsl" |
| |
| inherit cmake obmc-phosphor-ipmiprovider-symlink |
| |
| EXTRA_OECMAKE="-DENABLE_TEST=0 -DYOCTO=1" |
| |
| LIBRARY_NAMES = "libsensorcommands.so" |
| LIBRARY_NAMES += "libzstoragecommands.so" |
| LIBRARY_NAMES += "liboemcmds.so" |
| |
| HOSTIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| NETIPMI_PROVIDER_LIBRARY += "${LIBRARY_NAMES}" |
| |
| FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" |
| FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}" |
| FILES_${PN}_append = " ${libdir}/net-ipmid/lib*${SOLIBS}" |
| FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}" |
| |
| do_install_append(){ |
| install -d ${D}${includedir}/intel-ipmi-oem |
| install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/intel-ipmi-oem |
| } |