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" |
Brad Bishop | 1ebdb61 | 2019-09-13 12:18:25 -0400 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
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 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame^] | 9 | FILESEXTRAPATHS:prepend := "${THISDIR}/op-host-control:" |
| 10 | RDEPENDS:${PN} += "op-proc-control" |
Michael Tritz | 330f996 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 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 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame^] | 19 | SYSTEMD_SERVICE:${PN} += "${TMPL}" |
Michael Tritz | 330f996 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 20 | SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}" |