Add dependency on the phosphor-ipmi-inventory-sel recipe.

The phosphor-ipmi-inventory-sel recipe provides the system specific mapping
between the IPMI sensor numbers and inventory path. The openpower-ipmi-oem
library will consume this mapping to log eSEL as D-Bus error objects.

(From meta-openpower rev: 55b87c2cdb7c75ec8674a4a77999f2630e6d282f)

Change-Id: I24893f342920fbd9690d0d769ac1f0f44017948b
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-openpower/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb b/meta-openpower/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb
index 327970f..e4d9b04 100644
--- a/meta-openpower/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb
+++ b/meta-openpower/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb
@@ -18,6 +18,7 @@
 DEPENDS += "phosphor-dbus-interfaces phosphor-dbus-interfaces-native"
 DEPENDS += "openpower-dbus-interfaces openpower-dbus-interfaces-native"
 DEPENDS += "sdbus++-native"
+DEPENDS += "virtual/phosphor-ipmi-inventory-sel"
 
 RDEPENDS_${PN} += " \
         sdbusplus \
@@ -30,6 +31,10 @@
 
 HOSTIPMI_PROVIDER_LIBRARY += "liboemhandler.so"
 
+EXTRA_OECONF = " \
+        INVSENSOR_YAML_GEN=${STAGING_DIR_NATIVE}${datadir}/phosphor-ipmi-host/sensor/invsensor.yaml \
+        "
+
 S = "${WORKDIR}/git"
 
 FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"