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