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 | |
| 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')}" |