Vishwanatha Subbanna | 74852da | 2017-02-13 15:57:36 +0530 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 2 | |
Vishwanatha Subbanna | faaea09 | 2017-03-10 19:59:24 +0530 | [diff] [blame] | 3 | SYSTEMD_LINK_${PN} += "../obmc-led-group-start@.service:${SYSTEMD_DEFAULT_TARGET}.wants/obmc-led-group-start@BmcBooted.service" |
Vishwanatha Subbanna | 74852da | 2017-02-13 15:57:36 +0530 | [diff] [blame] | 4 | |
| 5 | STATES = "start stop" |
| 6 | TMPLFMT = "obmc-led-group-{0}@.service" |
| 7 | TGTFMT = "obmc-power-{0}@0.target" |
Vishwanatha Subbanna | faaea09 | 2017-03-10 19:59:24 +0530 | [diff] [blame] | 8 | INSTFMT = "obmc-led-group-{0}@PowerOn.service" |
Vishwanatha Subbanna | 74852da | 2017-02-13 15:57:36 +0530 | [diff] [blame] | 9 | FMT = "../${TMPLFMT}:${TGTFMT}.wants/${INSTFMT}" |
| 10 | |
| 11 | SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'STATES')}" |