1SUMMARY = "POWER9 CFAM override"
2DESCRIPTION = "Applies user CFAM register overrides from file"
3PR = "r1"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
6
7inherit obmc-phosphor-systemd
8
9FILESEXTRAPATHS:prepend := "${THISDIR}/op-host-control:"
10RDEPENDS:${PN} += "op-proc-control"
11
12S = "${WORKDIR}"
13
14TMPL = "cfam_override@.service"
15INSTFMT = "cfam_override@{0}.service"
16TGTFMT = "obmc-chassis-poweron@{0}.target"
17FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
18
19SYSTEMD_SERVICE:${PN} += "${TMPL}"
20SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"
21