Add dependency to libsdbusplus

Remove ALLOW_EMPTY from sdbusplus recipe as the library has
been created.
Add dependency to phosphor-logging and state-manager.

Change-Id: Ia7be4ec9f9cd0f272ece7eccad79c0bc46bbc893
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/meta-phosphor/common/recipes-extended/sdbusplus/sdbusplus.bb b/meta-phosphor/common/recipes-extended/sdbusplus/sdbusplus.bb
index f7ec5e7..9e771f8 100644
--- a/meta-phosphor/common/recipes-extended/sdbusplus/sdbusplus.bb
+++ b/meta-phosphor/common/recipes-extended/sdbusplus/sdbusplus.bb
@@ -31,7 +31,7 @@
         "
 
 SRC_URI += "git://github.com/openbmc/sdbusplus"
-SRCREV = "3306847106526b76af55513a0c1a5d974ede9c25"
+SRCREV = "a1fb5e6c3951eb8ad00795ba9471d968e53faad2"
 
 PACKAGECONFIG ??= "libsdbusplus"
 PACKAGECONFIG[libsdbusplus] = "--enable-libsdbusplus,--disable-libsdbusplus,systemd,libsystemd"
@@ -45,6 +45,5 @@
 
 PACKAGECONFIG_remove_class-native = "libsdbusplus"
 PACKAGECONFIG_remove_class-nativesdk = "libsdbusplus"
-ALLOW_EMPTY_${PN} = "1"
 
 BBCLASSEXTEND += "native nativesdk"
diff --git a/meta-phosphor/common/recipes-phosphor/logging/phosphor-logging.bb b/meta-phosphor/common/recipes-phosphor/logging/phosphor-logging.bb
index cd54d30..e449746 100644
--- a/meta-phosphor/common/recipes-phosphor/logging/phosphor-logging.bb
+++ b/meta-phosphor/common/recipes-phosphor/logging/phosphor-logging.bb
@@ -15,6 +15,7 @@
 DEPENDS += "python-mako-native"
 DEPENDS += "python-pyyaml-native"
 DEPENDS += "sdbusplus sdbusplus-native"
+RDEPENDS_${PN} += "sdbusplus"
 PROVIDES += "virtual/obmc-logging-mgmt"
 RPROVIDES_${PN} += "virtual-obmc-logging-mgmt"
 
diff --git a/meta-phosphor/common/recipes-phosphor/state/phosphor-state-manager.bb b/meta-phosphor/common/recipes-phosphor/state/phosphor-state-manager.bb
index 7dcceeb..8dd19fe 100644
--- a/meta-phosphor/common/recipes-phosphor/state/phosphor-state-manager.bb
+++ b/meta-phosphor/common/recipes-phosphor/state/phosphor-state-manager.bb
@@ -26,6 +26,7 @@
 DEPENDS += "sdbusplus"
 DEPENDS += "phosphor-logging"
 DEPENDS += "phosphor-dbus-interfaces"
+RDEPENDS_${PN} += "sdbusplus"
 
 RDEPENDS_${PN}-host += "libsystemd phosphor-dbus-interfaces"
 RDEPENDS_${PN}-chassis += "libsystemd phosphor-dbus-interfaces"
@@ -47,6 +48,6 @@
 DBUS_SERVICE_${PN}-bmc += "xyz.openbmc_project.State.BMC.service"
 
 SRC_URI += "git://github.com/openbmc/phosphor-state-manager"
-SRCREV = "9792414f6bdc925f2785355bdf456b54d46a0b90"
+SRCREV = "20a4887fa02492d854ea131ffd5775512196e975"
 
 S = "${WORKDIR}/git"