add recipe dependencies in openpower-libhei

Change-Id: I5b0b7fe6c52abe6a6426eb0fc2eba034f1722b77
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/recipes-phosphor/logging/openpower-hw-diags_git.bb b/recipes-phosphor/logging/openpower-hw-diags_git.bb
index 9507619..8d38318 100644
--- a/recipes-phosphor/logging/openpower-hw-diags_git.bb
+++ b/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/recipes-phosphor/logging/openpower-libhei_git.bb b/recipes-phosphor/logging/openpower-libhei_git.bb
index 8516f0d..365d658 100644
--- a/recipes-phosphor/logging/openpower-libhei_git.bb
+++ b/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"