blob: e395841ba35dd5a11bd3c405502a4211a46e8612 [file] [log] [blame]
Michael Tritzdf9ebb82017-04-12 16:08:39 -05001SUMMARY = "POWER9 CFAM override"
2DESCRIPTION = "Applies user CFAM register overrides from file"
3PR = "r1"
Patrick Venturea5078fd2018-11-05 19:24:37 -08004LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${OPENPOWERBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Michael Tritzdf9ebb82017-04-12 16:08:39 -05006
7inherit obmc-phosphor-systemd
Michael Tritzdf9ebb82017-04-12 16:08:39 -05008
9FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:"
10RDEPENDS_${PN} += "op-proc-control"
11
12S = "${WORKDIR}"
13
14TMPL = "cfam_override@.service"
15INSTFMT = "cfam_override@{0}.service"
Josh D. King9d5d7f42017-04-06 14:43:46 -050016TGTFMT = "obmc-chassis-poweron@{0}.target"
Michael Tritzdf9ebb82017-04-12 16:08:39 -050017FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
18
19SYSTEMD_SERVICE_${PN} += "${TMPL}"
20SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"