Matthew Barth | 6275fda | 2019-06-12 10:18:39 -0500 | [diff] [blame] | 1 | SUMMARY = "Fan policy configurations for meta-witherspoon machines" |
Matthew Barth | 0ca32c6 | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 2 | PR = "r1" |
| 3 | LICENSE = "Apache-2.0" |
Brad Bishop | cbbb0e5 | 2019-09-13 13:06:15 -0400 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
Matthew Barth | 0ca32c6 | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 5 | |
| 6 | inherit allarch |
| 7 | inherit phosphor-dbus-monitor |
| 8 | |
| 9 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" |
| 10 | |
| 11 | SRC_URI += "file://air-cooled.yaml" |
Ben_Pai | 949f914 | 2019-08-05 18:34:34 +0800 | [diff] [blame] | 12 | SRC_URI_append_ibm-ac-server = " file://water-cooled.yaml" |
Matthew Barth | 0ca32c6 | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 13 | SRC_URI += "file://fan-errors.yaml" |
| 14 | |
Ben_Pai | 949f914 | 2019-08-05 18:34:34 +0800 | [diff] [blame] | 15 | do_install_append_ibm-ac-server() { |
Matthew Barth | 0ca32c6 | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 16 | install -D ${WORKDIR}/air-cooled.yaml ${D}${config_dir}/air-cooled.yaml |
| 17 | install -D ${WORKDIR}/water-cooled.yaml ${D}${config_dir}/water-cooled.yaml |
| 18 | install -D ${WORKDIR}/fan-errors.yaml ${D}${config_dir}/fan-errors.yaml |
| 19 | } |
| 20 | |
Ben_Pai | 949f914 | 2019-08-05 18:34:34 +0800 | [diff] [blame] | 21 | do_install_append_mihawk() { |
| 22 | install -D ${WORKDIR}/air-cooled.yaml ${D}${config_dir}/air-cooled.yaml |
| 23 | install -D ${WORKDIR}/fan-errors.yaml ${D}${config_dir}/fan-errors.yaml |
| 24 | } |
| 25 | |
Matthew Barth | 0ca32c6 | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 26 | FILES_${PN} += "${config_dir}/air-cooled.yaml" |
Ben_Pai | 949f914 | 2019-08-05 18:34:34 +0800 | [diff] [blame] | 27 | FILES_${PN}_append_ibm-ac-server = " ${config_dir}/water-cooled.yaml" |
Matthew Barth | 0ca32c6 | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 28 | FILES_${PN} += "${config_dir}/fan-errors.yaml" |