blob: 4f6a9c653256279dbee09e53ac7b153d56564f98 [file] [log] [blame]
Michael Tritz330f9962017-04-12 16:08:39 -05001SUMMARY = "POWER9 CFAM override"
2DESCRIPTION = "Applies user CFAM register overrides from file"
3PR = "r1"
4
5inherit obmc-phosphor-systemd
6inherit obmc-phosphor-license
7
8FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:"
9RDEPENDS_${PN} += "op-proc-control"
10
11S = "${WORKDIR}"
12
13TMPL = "cfam_override@.service"
14INSTFMT = "cfam_override@{0}.service"
Josh D. Kingb9ee5362017-04-06 14:43:46 -050015TGTFMT = "obmc-chassis-poweron@{0}.target"
Michael Tritz330f9962017-04-12 16:08:39 -050016FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
17
18SYSTEMD_SERVICE_${PN} += "${TMPL}"
19SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"