Patrick Venture | 16a6bd2 | 2017-06-16 09:50:35 -0700 | [diff] [blame] | 1 | inherit obmc-phosphor-systemd |
| 2 | |
| 3 | FILESEXTRAPATHS_prepend_quanta-q71l := "${THISDIR}/${PN}:" |
Patrick Venture | 7642894 | 2017-05-09 10:04:13 -0700 | [diff] [blame] | 4 | |
| 5 | EEPROM_NAMES = "motherboard pdb fp bmc" |
| 6 | |
| 7 | EEPROMFMT = "system/chassis/{0}" |
| 8 | EEPROM_ESCAPEDFMT = "system-chassis-{0}" |
| 9 | EEPROMS = "${@compose_list(d, 'EEPROMFMT', 'EEPROM_NAMES')}" |
| 10 | EEPROMS_ESCAPED = "${@compose_list(d, 'EEPROM_ESCAPEDFMT', 'EEPROM_NAMES')}" |
| 11 | |
| 12 | ENVFMT = "obmc/eeproms/{0}" |
Patrick Venture | 16a6bd2 | 2017-06-16 09:50:35 -0700 | [diff] [blame] | 13 | SYSTEMD_ENVIRONMENT_FILE_${PN}_append_quanta-q71l := " ${@compose_list(d, 'ENVFMT', 'EEPROMS')}" |
Patrick Venture | 7642894 | 2017-05-09 10:04:13 -0700 | [diff] [blame] | 14 | |
| 15 | TMPL = "obmc-read-eeprom@.service" |
| 16 | TGT = "${SYSTEMD_DEFAULT_TARGET}" |
| 17 | INSTFMT = "obmc-read-eeprom@{0}.service" |
| 18 | FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}" |
| 19 | |
Patrick Venture | 16a6bd2 | 2017-06-16 09:50:35 -0700 | [diff] [blame] | 20 | SYSTEMD_LINK_${PN}_append_quanta-q71l := " ${@compose_list(d, 'FMT', 'EEPROMS_ESCAPED')}" |