Intel: Add recipe for Intel-specific IPMI support
This recipe builds the Intel-specifc IPMI support from the
intel-ipmi-oem repository. Intel-specific IPMI support
includes both OEM commands and overrides of common commands.
Change-Id: I7d768c685f9868f9ba3ea1f1505cb51f38bf9307
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
diff --git a/meta-common/recipes-intel/ipmi/intel-ipmi-oem_git.bb b/meta-common/recipes-intel/ipmi/intel-ipmi-oem_git.bb
new file mode 100755
index 0000000..5c17dfc
--- /dev/null
+++ b/meta-common/recipes-intel/ipmi/intel-ipmi-oem_git.bb
@@ -0,0 +1,29 @@
+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 = "6479604111b8198592c1054a3bad751f3b80a689"
+
+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}"