diff options
-rw-r--r-- | meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb b/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb index 21d44381d..33ebb4676 100644 --- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb +++ b/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb @@ -32,10 +32,11 @@ DEPENDS += " \ phosphor-dbus-interfaces \ openpower-dbus-interfaces-native \ autoconf-archive-native \ - obmc-targets \ systemd \ " +RDEPENDS_${PN} += "phosphor-state-manager-obmc-targets" + EXTRA_OECONF = " \ YAML_PATH=${STAGING_DATADIR_NATIVE}/${PN} \ PS_DERATING_FACTOR=${POWER_SUPPLY_DERATING_FACTOR} \ @@ -70,17 +71,18 @@ S = "${WORKDIR}/git" # Remove packages not required for native build DEPENDS_remove_class-native = " \ phosphor-logging \ - obmc-targets \ systemd \ virtual/${PN}-config-native \ " +RDEPENDS_${PN}_remove_class-native += "phosphor-state-manager-obmc-targets" + # Remove packages not required for native SDK build DEPENDS_remove_class-nativesdk = " \ phosphor-logging \ - obmc-targets \ systemd \ virtual/${PN}-config-native \ " +RDEPENDS_${PN}_remove_class-nativesdk += "phosphor-state-manager-obmc-targets" # Provide a means to enable/disable install_error_yaml feature PACKAGECONFIG ??= "install_error_yaml" @@ -98,4 +100,3 @@ PACKAGECONFIG_add_class-nativesdk = "install_error_yaml" PACKAGECONFIG_remove_class-target = "install_error_yaml" BBCLASSEXTEND += "native nativesdk" - |