1POWER_SERVICE_PACKAGES_AC_SERVER = " \
2    phosphor-power-monitor \
3    phosphor-power-systemd-links-monitor \
4    phosphor-power-sequencer \
5    phosphor-power-systemd-links-sequencer \
6    phosphor-power-utils \
7    phosphor-power \
8"
9
10# P10 does not need/want the old PSU monitor
11POWER_SERVICE_PACKAGES_P10 = " \
12    phosphor-power-sequencer \
13    phosphor-power-systemd-links-sequencer \
14    phosphor-power-utils \
15    phosphor-power \
16    phosphor-power-regulators \
17    phosphor-power-psu-monitor \
18"
19
20EXTRA_IBM_LOGGING_PKGS = ""
21EXTRA_IBM_LOGGING_PKGS_witherspoon = "ibm-logging"
22EXTRA_IBM_LOGGING_PKGS_witherspoon-tacoma = ""
23EXTRA_IBM_LOGGING_PKGS_mihawk = "ibm-logging"
24
25RDEPENDS_${PN}-inventory_append_ibm-ac-server = " openpower-fru-vpd openpower-occ-control phosphor-cooling-type virtual/obmc-gpio-presence"
26RDEPENDS_${PN}-inventory_append_p10bmc = " openpower-fru-vpd openpower-occ-control virtual/obmc-gpio-presence"
27RDEPENDS_${PN}-inventory_append_mihawk = " openpower-fru-vpd openpower-occ-control virtual/obmc-gpio-presence id-button phosphor-cooling-type"
28RDEPENDS_${PN}-fan-control_append_ibm-ac-server = " fan-watchdog"
29RDEPENDS_${PN}-fan-control_append_p10bmc = " fan-watchdog sensor-monitor"
30RDEPENDS_${PN}-extras_append_ibm-ac-server = " ${POWER_SERVICE_PACKAGES_AC_SERVER} witherspoon-power-supply-sync phosphor-webui"
31RDEPENDS_${PN}-extras_append_p10bmc = " ${POWER_SERVICE_PACKAGES_P10} webui-vue dbus-sensors phosphor-virtual-sensor kexec-tools makedumpfile kdump vmcore-dmesg"
32RDEPENDS_${PN}-extras_append_mihawk = " phosphor-webui phosphor-image-signing wistron-ipmi-oem ${POWER_SERVICE_PACKAGES_AC_SERVER}"
33RDEPENDS_${PN}-extras_append_witherspoon-tacoma = " pldm srvcfg-manager webui-vue biosconfig-manager phosphor-post-code-manager phosphor-host-postd kexec-tools makedumpfile kdump vmcore-dmesg"
34
35RDEPENDS_${PN}-extras_remove_p10bmc = "obmc-ikvm liberation-fonts uart-render-controller"
36RDEPENDS_${PN}-host-state-mgmt_remove_p10bmc = "checkstop-monitor"
37RDEPENDS_${PN}-extras_remove_swift = "obmc-ikvm"
38RDEPENDS_${PN}-extras_remove_witherspoon-tacoma = "obmc-ikvm liberation-fonts uart-render-controller phosphor-webui"
39RDEPENDS_${PN}-logging_append = " ${EXTRA_IBM_LOGGING_PKGS}"
40RDEPENDS_${PN}-extras_append_p10bmc = " pldm openpower-hw-diags srvcfg-manager biosconfig-manager phosphor-post-code-manager phosphor-host-postd"
41RDEPENDS_${PN}-leds_remove_witherspoon-tacoma = "phosphor-led-manager-faultmonitor"
42
43${PN}-software-extras_append_ibm-ac-server = " phosphor-software-manager-sync"
44