xref: /openbmc/openbmc/meta-openpower/recipes-phosphor/host/p9-cfam-override.bb (revision 91a1cec28e08f949b120fe8885e87ef256ca4d93)
1d3f78932SBrad BishopSUMMARY = "POWER9 CFAM override"
2d3f78932SBrad BishopDESCRIPTION = "Applies user CFAM register overrides from file"
3d3f78932SBrad BishopPR = "r1"
42879d326SBrad BishopLICENSE = "Apache-2.0"
51ebdb618SBrad BishopLIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
6d3f78932SBrad Bishop
7d3f78932SBrad Bishopinherit obmc-phosphor-systemd
8d3f78932SBrad Bishop
98c6707f0SAdriana KobylakFILESEXTRAPATHS:prepend := "${THISDIR}/op-host-control:"
108c6707f0SAdriana KobylakRDEPENDS:${PN} += "op-proc-control"
11d3f78932SBrad Bishop
12*91a1cec2SAndrew GeisslerS = "${WORKDIR}/sources"
13*91a1cec2SAndrew GeisslerUNPACKDIR = "${S}"
14d3f78932SBrad Bishop
15d3f78932SBrad BishopTMPL = "cfam_override@.service"
16d3f78932SBrad BishopINSTFMT = "cfam_override@{0}.service"
17d3f78932SBrad BishopTGTFMT = "obmc-chassis-poweron@{0}.target"
18d3f78932SBrad BishopFMT = "../${TMPL}:${TGTFMT}.requires/${INSTFMT}"
19d3f78932SBrad Bishop
208c6707f0SAdriana KobylakSYSTEMD_SERVICE:${PN} += "${TMPL}"
21e83c2209SPatrick WilliamsSYSTEMD_LINK:${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}"
22