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}/sources"
13UNPACKDIR = "${S}"
14
15TMPL = "cfam_override@.service"
16INSTFMT = "cfam_override@{0}.service"
17TGTFMT = "obmc-chassis-poweron@{0}.target"
18FMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
19
20SYSTEMD_SERVICE:${PN} += "${TMPL}"
21SYSTEMD_LINK:${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"
22