1SUMMARY = "POWER9 CFAM override"
2DESCRIPTION = "Applies user CFAM register overrides from file"
3PR = "r1"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${OPENPOWERBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
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