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" |
Brad Bishop | 2879d32 | 2018-11-07 14:45:23 -0500 | [diff] [blame] | 4 | LICENSE = "Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://${OPENPOWERBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
Michael Tritz | 330f996 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 6 | |
| 7 | inherit obmc-phosphor-systemd |
Michael Tritz | 330f996 | 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 | b9ee536 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 16 | TGTFMT = "obmc-chassis-poweron@{0}.target" |
Michael Tritz | 330f996 | 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')}" |