blob: d779785e4a527c89f2d979de95d7fe160cc37fd7 [file] [log] [blame]
Michael Tritz330f9962017-04-12 16:08:39 -05001SUMMARY = "POWER9 CFAM override"
2DESCRIPTION = "Applies user CFAM register overrides from file"
3PR = "r1"
Brad Bishop2879d322018-11-07 14:45:23 -05004LICENSE = "Apache-2.0"
Brad Bishop1ebdb612019-09-13 12:18:25 -04005LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Michael Tritz330f9962017-04-12 16:08:39 -05006
7inherit obmc-phosphor-systemd
Michael Tritz330f9962017-04-12 16:08:39 -05008
Adriana Kobylak8c6707f2021-08-06 17:35:36 +00009FILESEXTRAPATHS:prepend := "${THISDIR}/op-host-control:"
10RDEPENDS:${PN} += "op-proc-control"
Michael Tritz330f9962017-04-12 16:08:39 -050011
12S = "${WORKDIR}"
13
14TMPL = "cfam_override@.service"
15INSTFMT = "cfam_override@{0}.service"
Josh D. Kingb9ee5362017-04-06 14:43:46 -050016TGTFMT = "obmc-chassis-poweron@{0}.target"
Michael Tritz330f9962017-04-12 16:08:39 -050017FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
18
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000019SYSTEMD_SERVICE:${PN} += "${TMPL}"
Patrick Williamse83c2202021-09-01 16:17:33 -050020SYSTEMD_LINK:${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"