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-control \
13    phosphor-power-utils \
14    phosphor-power \
15    phosphor-power-regulators \
16    phosphor-power-systemd-links-regulators \
17    phosphor-power-psu-monitor \
18"
19
20EXTRA_IBM_LOGGING_PKGS = ""
21EXTRA_IBM_LOGGING_PKGS:witherspoon = ""
22EXTRA_IBM_LOGGING_PKGS:witherspoon-tacoma = ""
23EXTRA_IBM_LOGGING_PKGS:p10bmc = " \
24    python3-sbe-log-parsers \
25    hostboot-pel-parsers \
26"
27
28RDEPENDS:${PN}-inventory:append:ibm-ac-server = " openpower-fru-vpd openpower-occ-control phosphor-cooling-type phosphor-gpio-monitor-presence"
29RDEPENDS:${PN}-inventory:append:p10bmc = " openpower-fru-vpd openpower-occ-control phosphor-gpio-monitor-presence entity-manager"
30RDEPENDS:${PN}-inventory:append:witherspoon-tacoma = " entity-manager"
31RDEPENDS:${PN}-inventory:remove:huygens = " openpower-occ-control"
32
33RDEPENDS:${PN}-fan-control:append:ibm-ac-server = " fan-watchdog"
34RDEPENDS:${PN}-fan-control:append:p10bmc = " fan-watchdog phosphor-fan-sensor-monitor"
35
36RDEPENDS:${PN}-extras:append:ibm-ac-server = " ${POWER_SERVICE_PACKAGES_AC_SERVER} witherspoon-power-supply-sync"
37RDEPENDS:${PN}-extras:append:p10bmc = " ${POWER_SERVICE_PACKAGES_P10} dbus-sensors phosphor-virtual-sensor"
38RDEPENDS:${PN}-extras:append:p10bmc = " pldm openpower-hw-diags srvcfg-manager biosconfig-manager phosphor-post-code-manager phosphor-host-postd debug-trigger libmctp"
39RDEPENDS:${PN}-extras:remove:p10bmc = "obmc-ikvm liberation-fonts uart-render-controller"
40RDEPENDS:${PN}-extras:append:witherspoon-tacoma = " pldm srvcfg-manager biosconfig-manager phosphor-post-code-manager phosphor-host-postd kexec-tools makedumpfile kdump vmcore-dmesg debug-trigger libmctp"
41RDEPENDS:${PN}-extras:remove:witherspoon-tacoma = "obmc-ikvm liberation-fonts uart-render-controller"
42RDEPENDS:${PN}-extras:append:sbp1 = " phosphor-ipmi-ipmb "
43
44RDEPENDS:${PN}-software:append:ibm-ac-server = " phosphor-software-manager-sync"
45RDEPENDS:${PN}-software:append:p10bmc = " phosphor-software-manager-usb"
46RDEPENDS:${PN}-software:append:p10bmc = " phosphor-software-manager-side-switch"
47RDEPENDS:${PN}-software:append:system1 = " phosphor-software-manager-side-switch"
48
49RDEPENDS:${PN}-host-state-mgmt:remove:p10bmc = "checkstop-monitor"
50RDEPENDS:${PN}-logging:append = " ${EXTRA_IBM_LOGGING_PKGS}"
51RDEPENDS:${PN}-leds:remove:witherspoon-tacoma = "phosphor-led-manager-faultmonitor"
52RDEPENDS:${PN}-devtools:remove:witherspoon = "rsync"
53