diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2019-01-29 06:41:27 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-02-01 01:13:09 +0300 |
commit | 087f5182b56871028d99eb19e2619ba57f356cb9 (patch) | |
tree | 123aed933d11f153eaa671547a679389728d4cc9 | |
parent | 0227ac31282a225da365faea499cd7a57cd34579 (diff) | |
download | openbmc-087f5182b56871028d99eb19e2619ba57f356cb9.tar.xz |
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>
-rw-r--r-- | meta-openpower/recipes-phosphor/ipmi/openpower-ipmi-oem_git.bb | 5 |
1 files changed, 5 insertions, 0 deletions
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 327970f4e..e4d9b04fa 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-logging" 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 @@ TARGET_CFLAGS += "-fpic" 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}" |