Thang Q. Nguyen | fa1aa4d | 2021-08-07 05:09:50 +0000 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
Chanh Nguyen | b0da1bf | 2021-03-23 11:50:26 +0700 | [diff] [blame] | 2 | |
| 3 | TMPL_POWERSUPPLY = "phosphor-gpio-presence@.service" |
| 4 | INSTFMT_POWERSUPPLY = "phosphor-gpio-presence@{0}.service" |
| 5 | POWERSUPPLY_TGT = "multi-user.target" |
| 6 | FMT_POWERSUPPLY = "../${TMPL_POWERSUPPLY}:${POWERSUPPLY_TGT}.requires/${INSTFMT_POWERSUPPLY}" |
| 7 | |
Patrick Williams | e83c220 | 2021-09-01 16:17:33 -0500 | [diff] [blame] | 8 | SYSTEMD_LINK:${PN}-presence:append:mtjade = " ${@compose_list(d, 'FMT_POWERSUPPLY', 'OBMC_POWER_SUPPLY_INSTANCES')}" |
Chanh Nguyen | b0da1bf | 2021-03-23 11:50:26 +0700 | [diff] [blame] | 9 | |
| 10 | POWERSUPPLY_ENV_FMT = "obmc/gpio/phosphor-power-supply-{0}.conf" |
| 11 | |
Patrick Williams | e83c220 | 2021-09-01 16:17:33 -0500 | [diff] [blame] | 12 | SYSTEMD_ENVIRONMENT_FILE:${PN}-presence:append:mtjade = " ${@compose_list(d, 'POWERSUPPLY_ENV_FMT', 'OBMC_POWER_SUPPLY_INSTANCES')}" |