Brad Bishop | a588016 | 2019-05-09 17:09:20 -0400 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
Gunnar Mills | 7460b22 | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 2 | |
Gunnar Mills | 7460b22 | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 3 | TMPL_POWERSUPPLY = "phosphor-gpio-presence@.service" |
| 4 | INSTFMT_POWERSUPPLY = "phosphor-gpio-presence@{0}.service" |
Patrick Venture | 85cff8c | 2019-04-04 13:06:43 -0700 | [diff] [blame] | 5 | POWERSUPPLY_TGT = "multi-user.target" |
Gunnar Mills | 7460b22 | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 6 | FMT_POWERSUPPLY = "../${TMPL_POWERSUPPLY}:${POWERSUPPLY_TGT}.requires/${INSTFMT_POWERSUPPLY}" |
| 7 | |
Brad Bishop | bb0e1d0 | 2019-07-17 17:35:55 -0400 | [diff] [blame] | 8 | SYSTEMD_LINK_${PN}-presence_append_ibm-ac-server = " ${@compose_list(d, 'FMT_POWERSUPPLY', 'OBMC_POWER_SUPPLY_INSTANCES')}" |
Ben_Pai | c53430a | 2019-07-15 16:19:02 +0800 | [diff] [blame] | 9 | SYSTEMD_LINK_${PN}-presence_append_mihawk = " ${@compose_list(d, 'FMT_POWERSUPPLY', 'OBMC_POWER_SUPPLY_INSTANCES')}" |
Brandon Wyman | 3e8f174 | 2019-10-24 18:08:13 -0500 | [diff] [blame] | 10 | SYSTEMD_LINK_${PN}-presence_append_rainier = " ${@compose_list(d, 'FMT_POWERSUPPLY', 'OBMC_POWER_SUPPLY_INSTANCES')}" |
Gunnar Mills | 7460b22 | 2017-07-10 15:49:43 -0500 | [diff] [blame] | 11 | |
| 12 | POWERSUPPLY_ENV_FMT = "obmc/gpio/phosphor-power-supply-{0}.conf" |
| 13 | |
Brad Bishop | bb0e1d0 | 2019-07-17 17:35:55 -0400 | [diff] [blame] | 14 | SYSTEMD_ENVIRONMENT_FILE_${PN}-presence_append_ibm-ac-server = " ${@compose_list(d, 'POWERSUPPLY_ENV_FMT', 'OBMC_POWER_SUPPLY_INSTANCES')}" |
Ben_Pai | c53430a | 2019-07-15 16:19:02 +0800 | [diff] [blame] | 15 | SYSTEMD_ENVIRONMENT_FILE_${PN}-presence_append_mihawk = " ${@compose_list(d, 'POWERSUPPLY_ENV_FMT', 'OBMC_POWER_SUPPLY_INSTANCES')}" |
Brandon Wyman | 3e8f174 | 2019-10-24 18:08:13 -0500 | [diff] [blame] | 16 | SYSTEMD_ENVIRONMENT_FILE_${PN}-presence_append_rainier = " ${@compose_list(d, 'POWERSUPPLY_ENV_FMT', 'OBMC_POWER_SUPPLY_INSTANCES')}" |