blob: 11ad79cb10663f750f8cd47aac9a7e01766c013f [file] [log] [blame]
Sergey Solominaac4adf2016-11-28 15:03:24 -06001SUMMARY = "POWER9 VCS workaround"
2DESCRIPTION = "Apply fixes over FSI to POWER9 CPUs prior to host power on"
3PR = "r1"
4
5inherit obmc-phosphor-systemd
6inherit obmc-phosphor-license
7
Matt Spinleraca1b152017-03-10 15:08:56 -06008FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:"
9RDEPENDS_${PN} += "virtual-p9-vcs-workaround op-proc-control"
Sergey Solominaac4adf2016-11-28 15:03:24 -060010
11S = "${WORKDIR}"
Sergey Solominaac4adf2016-11-28 15:03:24 -060012
13TMPL = "vcs_workaround@.service"
14INSTFMT = "vcs_workaround@{0}.service"
Josh D. Kingb9ee5362017-04-06 14:43:46 -050015TGTFMT = "obmc-chassis-poweron@{0}.target"
Andrew Geissler3c35a8c2017-02-08 15:54:25 -060016FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
Sergey Solominaac4adf2016-11-28 15:03:24 -060017
18SYSTEMD_SERVICE_${PN} += "${TMPL}"
19SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"