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# Rainier does not need/want the old PSU monitor
11POWER_SERVICE_PACKAGES_RAINIER = " \
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_rainier = " 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_rainier = " fan-watchdog"
30RDEPENDS_${PN}-extras_append_ibm-ac-server = " ${POWER_SERVICE_PACKAGES_AC_SERVER} witherspoon-power-supply-sync phosphor-webui"
31RDEPENDS_${PN}-extras_append_rainier = " ${POWER_SERVICE_PACKAGES_RAINIER} webui-vue dbus-sensors phosphor-virtual-sensor"
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"
34
35RDEPENDS_${PN}-extras_remove_rainier = "obmc-ikvm liberation-fonts uart-render-controller"
36RDEPENDS_${PN}-extras_remove_swift = "obmc-ikvm"
37RDEPENDS_${PN}-extras_remove_witherspoon-tacoma = "obmc-ikvm liberation-fonts uart-render-controller phosphor-webui"
38RDEPENDS_${PN}-logging_append = " ${EXTRA_IBM_LOGGING_PKGS}"
39RDEPENDS_${PN}-extras_append_rainier = " pldm openpower-hw-diags srvcfg-manager biosconfig-manager"
40RDEPENDS_${PN}-leds_remove_rainier = "phosphor-led-manager-faultmonitor"
41RDEPENDS_${PN}-leds_remove_witherspoon-tacoma = "phosphor-led-manager-faultmonitor"
42
43${PN}-software-extras_append_ibm-ac-server = " phosphor-software-manager-sync"
44