add recipe dependencies in openpower-libhei

(From meta-openpower rev: 0d19816dff224f6e760e19e27749493907b2b4d0)

Change-Id: I50d4ac220d253fe9055ef62621721b69cfde432b
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb b/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb
index 9507619..8d38318 100644
--- a/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb
+++ b/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb
@@ -15,3 +15,6 @@
 
 DEPENDS = "boost libgpiod pdbg phosphor-logging sdbusplus openpower-libhei"
 FILES_${PN} += "${UNITDIR}/attn_handler.service"
+
+# This is required so that libhei is installed with the chip data files.
+RDEPENDS_${PN} += "openpower-libhei"
diff --git a/meta-openpower/recipes-phosphor/logging/openpower-libhei_git.bb b/meta-openpower/recipes-phosphor/logging/openpower-libhei_git.bb
index 8516f0d..365d658 100644
--- a/meta-openpower/recipes-phosphor/logging/openpower-libhei_git.bb
+++ b/meta-openpower/recipes-phosphor/logging/openpower-libhei_git.bb
@@ -11,3 +11,7 @@
 SRCREV = "abc51c2b6fca6ed704c6fd70426faf0038f2e807"
 
 S = "${WORKDIR}/git"
+
+inherit perlnative
+
+DEPENDS += "libxml2-native libxml-simple-perl-native"