blob: 43efeab246203a1305e727679a1edf49c7feb484 [file] [log] [blame]
Sergey Solomin67305e32016-11-28 15:03:24 -06001SUMMARY = "POWER9 VCS workaround"
2DESCRIPTION = "Apply fixes over FSI to POWER9 CPUs prior to host power on"
3PR = "r1"
Patrick Venture2bdda122018-11-05 19:25:33 -08004LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${OPENPOWERBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Sergey Solomin67305e32016-11-28 15:03:24 -06006
7inherit obmc-phosphor-systemd
Sergey Solomin67305e32016-11-28 15:03:24 -06008
Matt Spinler41d3c842017-03-10 15:08:56 -06009FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:"
10RDEPENDS_${PN} += "virtual-p9-vcs-workaround op-proc-control"
Sergey Solomin67305e32016-11-28 15:03:24 -060011
12S = "${WORKDIR}"
Sergey Solomin67305e32016-11-28 15:03:24 -060013
14TMPL = "vcs_workaround@.service"
15INSTFMT = "vcs_workaround@{0}.service"
Josh D. King9d5d7f42017-04-06 14:43:46 -050016TGTFMT = "obmc-chassis-poweron@{0}.target"
Andrew Geissler163fc002017-02-08 15:54:25 -060017FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
Sergey Solomin67305e32016-11-28 15:03:24 -060018
19SYSTEMD_SERVICE_${PN} += "${TMPL}"
20SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"