blob: 8eb5bc23b18bd93fe65f9bfa022ac279434019ad [file] [log] [blame]
Matthew Barth9c525872019-06-12 10:18:39 -05001SUMMARY = "Thermal policy configuration for meta-witherspoon machines"
Matthew Barthbc7b43f2019-06-13 12:06:11 -05002PR = "r1"
3LICENSE = "Apache-2.0"
Brad Bishopd77088a2019-09-13 13:06:15 -04004LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Matthew Barthbc7b43f2019-06-13 12:06:11 -05005
6inherit allarch
7inherit phosphor-dbus-monitor
8
Adriana Kobylakb96c7502021-08-06 16:25:30 +00009FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
Matthew Barthbc7b43f2019-06-13 12:06:11 -050010
Andrew Geissler319bf072022-07-18 15:14:27 -040011SRC_URI:append:ibm-ac-server = " file://thermal-policy.yaml"
12SRC_URI:append:mihawk = " file://thermal-policy.yaml"
Matthew Barthbc7b43f2019-06-13 12:06:11 -050013
Andrew Geissler319bf072022-07-18 15:14:27 -040014do_install:ibm-ac-server() {
Matthew Barthbc7b43f2019-06-13 12:06:11 -050015 install -D ${WORKDIR}/thermal-policy.yaml ${D}${config_dir}/thermal-policy.yaml
16}
17
Andrew Geissler319bf072022-07-18 15:14:27 -040018do_install:mihawk() {
19 install -D ${WORKDIR}/thermal-policy.yaml ${D}${config_dir}/thermal-policy.yaml
20}
21
22FILES:${PN}:append:ibm-ac-server = " ${config_dir}/thermal-policy.yaml"
23FILES:${PN}:append:mihawk = " ${config_dir}/thermal-policy.yaml"