Brad Bishop | 589ee00 | 2019-05-14 10:34:18 -0400 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend_romulus := "${THISDIR}/${BPN}:" |
Lei YU | 897ecfe | 2018-01-17 15:09:09 +0800 | [diff] [blame] | 2 | |
Matthew Barth | 81ca457 | 2019-06-28 09:00:34 -0500 | [diff] [blame] | 3 | SRCREV = "d9a580aa5037fdb08911940263a580b036f2d9fa" |
| 4 | |
Lei YU | 897ecfe | 2018-01-17 15:09:09 +0800 | [diff] [blame] | 5 | # Package configuration |
| 6 | FAN_PACKAGES += " \ |
| 7 | phosphor-cooling-type \ |
| 8 | " |
| 9 | |
Brad Bishop | 0ccb228 | 2019-05-08 21:02:48 -0400 | [diff] [blame] | 10 | PACKAGECONFIG_append_romulus = " cooling-type" |
Lei YU | 897ecfe | 2018-01-17 15:09:09 +0800 | [diff] [blame] | 11 | |
| 12 | TMPL_COOLING = "phosphor-cooling-type@.service" |
| 13 | INSTFMT_COOLING = "phosphor-cooling-type@{0}.service" |
Patrick Venture | 85cff8c | 2019-04-04 13:06:43 -0700 | [diff] [blame] | 14 | COOLING_TGT = "multi-user.target" |
Lei YU | 897ecfe | 2018-01-17 15:09:09 +0800 | [diff] [blame] | 15 | FMT_COOLING = "../${TMPL_COOLING}:${COOLING_TGT}.requires/${INSTFMT_COOLING}" |
| 16 | |
Patrick Venture | 8c065e2 | 2019-03-30 08:57:39 -0700 | [diff] [blame] | 17 | FILES_phosphor-cooling-type = "${bindir}/phosphor-cooling-type" |
Lei YU | 897ecfe | 2018-01-17 15:09:09 +0800 | [diff] [blame] | 18 | SYSTEMD_SERVICE_phosphor-cooling-type += "${TMPL_COOLING}" |
| 19 | SYSTEMD_LINK_phosphor-cooling-type += "${@compose_list(d, 'FMT_COOLING', 'OBMC_CHASSIS_INSTANCES')}" |
| 20 | |
| 21 | COOLING_ENV_FMT = "obmc/phosphor-fan/phosphor-cooling-type-{0}.conf" |
| 22 | |
Brad Bishop | 0ccb228 | 2019-05-08 21:02:48 -0400 | [diff] [blame] | 23 | SYSTEMD_ENVIRONMENT_FILE_phosphor-cooling-type_append_romulus = " ${@compose_list(d, 'COOLING_ENV_FMT', 'OBMC_CHASSIS_INSTANCES')}" |