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
10POWER_SERVICE_PACKAGES_RAINIER = " \
11    ${POWER_SERVICE_PACKAGES_AC_SERVER} \
12    phosphor-power-regulators \
13    phosphor-power-psu-monitor \
14"
15
16EXTRA_IBM_LOGGING_PKGS = ""
17EXTRA_IBM_LOGGING_PKGS_witherspoon = "ibm-logging"
18EXTRA_IBM_LOGGING_PKGS_witherspoon-tacoma = ""
19EXTRA_IBM_LOGGING_PKGS_mihawk = "ibm-logging"
20
21RDEPENDS_${PN}-inventory_append_ibm-ac-server = " openpower-fru-vpd openpower-occ-control phosphor-cooling-type virtual/obmc-gpio-presence"
22RDEPENDS_${PN}-inventory_append_rainier = " openpower-fru-vpd openpower-occ-control virtual/obmc-gpio-presence"
23RDEPENDS_${PN}-inventory_append_mihawk = " openpower-fru-vpd openpower-occ-control virtual/obmc-gpio-presence id-button phosphor-cooling-type"
24RDEPENDS_${PN}-fan-control_append_ibm-ac-server = " fan-watchdog"
25RDEPENDS_${PN}-fan-control_append_rainier = " fan-watchdog"
26RDEPENDS_${PN}-extras_append_ibm-ac-server = " ${POWER_SERVICE_PACKAGES_AC_SERVER} witherspoon-power-supply-sync phosphor-webui"
27RDEPENDS_${PN}-extras_append_rainier = " ${POWER_SERVICE_PACKAGES_RAINIER} phosphor-webui"
28RDEPENDS_${PN}-extras_append_mihawk = " phosphor-webui phosphor-image-signing wistron-ipmi-oem ${POWER_SERVICE_PACKAGES_AC_SERVER}"
29RDEPENDS_${PN}-extras_remove_rainier = "obmc-ikvm liberation-fonts uart-render-controller"
30RDEPENDS_${PN}-extras_remove_swift = "obmc-ikvm"
31RDEPENDS_${PN}-extras_remove_witherspoon-tacoma = "obmc-ikvm liberation-fonts uart-render-controller"
32RDEPENDS_${PN}-logging_append = " ${EXTRA_IBM_LOGGING_PKGS}"
33RDEPENDS_${PN}-extras_append_rainier = " pldm openpower-hw-diags srvcfg-manager"
34
35RDEPENDS_${PN}-extras_append_witherspoon-tacoma = " pldm srvcfg-manager"
36
37${PN}-software-extras_append_ibm-ac-server = " phosphor-software-manager-sync"
38