Michael Tritz | df9ebb8 | 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" |
Patrick Venture | a5078fd | 2018-11-05 19:24:37 -0800 | [diff] [blame] | 4 | LICENSE = "Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://${OPENPOWERBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
Michael Tritz | df9ebb8 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 6 | |
| 7 | inherit obmc-phosphor-systemd |
Michael Tritz | df9ebb8 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 8 | |
| 9 | FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:" |
| 10 | RDEPENDS_${PN} += "op-proc-control" |
| 11 | |
| 12 | S = "${WORKDIR}" |
| 13 | |
| 14 | TMPL = "cfam_override@.service" |
| 15 | INSTFMT = "cfam_override@{0}.service" |
Josh D. King | 9d5d7f4 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 16 | TGTFMT = "obmc-chassis-poweron@{0}.target" |
Michael Tritz | df9ebb8 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 17 | FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}" |
| 18 | |
| 19 | SYSTEMD_SERVICE_${PN} += "${TMPL}" |
| 20 | SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}" |