openpower-occ-control: remove sdbusplus depend in native context
There is no sdbusplus in native context. Since occ-control has a
DEPENDS += "sdbusplus", it ends up getting sdbusplus-native when
built under a native context. sdbusplus-native is a temporary
alias to python-sdbus++-native, for backwards compatiblity with
python2 code, which will be removed soon.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie9ce7dab15fec41d6a89a1470995f76637fc5a80
diff --git a/recipes-phosphor/occ/openpower-occ-control_git.bb b/recipes-phosphor/occ/openpower-occ-control_git.bb
index 548bdb0..210b5fc 100644
--- a/recipes-phosphor/occ/openpower-occ-control_git.bb
+++ b/recipes-phosphor/occ/openpower-occ-control_git.bb
@@ -74,6 +74,7 @@
DEPENDS_remove_class-native = " \
phosphor-logging \
systemd \
+ sdbusplus \
virtual/${PN}-config-native \
"
RDEPENDS_${PN}_remove_class-native += "phosphor-state-manager-obmc-targets"
@@ -82,6 +83,7 @@
DEPENDS_remove_class-nativesdk = " \
phosphor-logging \
systemd \
+ sdbusplus \
virtual/${PN}-config-native \
"
RDEPENDS_${PN}_remove_class-nativesdk += "phosphor-state-manager-obmc-targets"