op-proc-control: Depend on pdbg for libpdbg
Subsequent patches will link against libpdbg.
(From meta-openpower rev: 06513d650714e3d85fb35c53d5b3361096b1a012)
Change-Id: I09d98752af5ffc62f9f6b89aeb8e171bd5ac56d6
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb b/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb
index 592633b..05d6d90 100644
--- a/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb
+++ b/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb
@@ -19,6 +19,15 @@
phosphor-dbus-interfaces \
openpower-dbus-interfaces \
"
+
+# For libpdbg, provided by the pdbg package
+DEPENDS += "pdbg"
+
+# For now, explicitly depend on the pdbg package for the pdbg binary at runtime
+# (as documentation). This will be removed shortly when we only depend on
+# libpdbg; the pdbg package will automatically injected into RDEPENDS by
+# bitbake as it is in DEPENDS and openpower-proc-nmi has a runtime link
+# dependency on libpdbg.
RDEPENDS_${PN} += "pdbg"
TEMPLATE = "pcie-poweroff@.service"