1SUMMARY = "POWER9 CFAM override"
2DESCRIPTION = "Applies user CFAM register overrides from file"
3PR = "r1"
4
5inherit obmc-phosphor-systemd
6inherit obmc-phosphor-license
7
8FILESEXTRAPATHS_prepend := "${THISDIR}/op-host-control:"
9RDEPENDS_${PN} += "op-proc-control"
10
11S = "${WORKDIR}"
12
13TMPL = "cfam_override@.service"
14INSTFMT = "cfam_override@{0}.service"
15TGTFMT = "obmc-chassis-poweron@{0}.target"
16FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
17
18SYSTEMD_SERVICE_${PN} += "${TMPL}"
19SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"
20