blob: 7f247722103cebcc562c4151477d5dced4cad8c9 [file] [log] [blame]
Vishwanatha Subbanna08033982017-01-09 15:00:38 +05301SUMMARY = "Phosphor LED Group Management Daemon"
2DESCRIPTION = "Daemon to cater to triggering actions on LED groups"
Vishwanatha Subbanna08033982017-01-09 15:00:38 +05303PR = "r1"
4
Patrick Williamse615a0d2017-02-09 16:00:05 -06005inherit autotools pkgconfig pythonnative
Brad Bishopcca54452017-01-26 11:53:12 -05006inherit obmc-phosphor-dbus-service
Vishwanatha Subbanna7e84c6e2017-01-23 16:04:35 +05307require ${PN}.inc
Vishwanatha Subbanna08033982017-01-09 15:00:38 +05308
9DEPENDS += "python-pyyaml-native"
10DEPENDS += "autoconf-archive-native"
11DEPENDS += "sdbusplus sdbusplus-native"
Ratan Gupta83fff102017-03-14 14:50:04 +053012DEPENDS += "phosphor-logging"
13
Vishwanatha Subbanna8bec8252017-02-11 22:10:23 +053014DEPENDS += "virtual/${PN}-config-native"
Vishwanatha Subbanna08033982017-01-09 15:00:38 +053015RDEPENDS_${PN} += "libsystemd"
Ratan Gupta83fff102017-03-14 14:50:04 +053016RDEPENDS_${PN} += "phosphor-logging"
Vishwanatha Subbanna08033982017-01-09 15:00:38 +053017
Vishwanatha Subbanna08033982017-01-09 15:00:38 +053018S = "${WORKDIR}/git"
19
Brad Bishop616974f2017-03-01 09:48:32 -050020DBUS_SERVICE_${PN} += "xyz.openbmc_project.LED.GroupManager.service"
Vishwanatha Subbanna8bec8252017-02-11 22:10:23 +053021SYSTEMD_SERVICE_${PN} += "obmc-led-group-start@.service obmc-led-group-stop@.service"
Vishwanatha Subbanna7e84c6e2017-01-23 16:04:35 +053022
Vishwanatha Subbannaa075b962017-03-27 14:36:58 +053023SYSTEMD_LINK_${PN} += "../obmc-led-group-start@.service:${SYSTEMD_DEFAULT_TARGET}.wants/obmc-led-group-start@bmc_booted.service"
24
25STATES = "start stop"
26TMPLFMT = "obmc-led-group-{0}@.service"
27TGTFMT = "obmc-power-{0}@0.target"
28INSTFMT = "obmc-led-group-{0}@power_on.service"
29FMT = "../${TMPLFMT}:${TGTFMT}.wants/${INSTFMT}"
30SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'STATES')}"
31
Vishwanatha Subbanna7e84c6e2017-01-23 16:04:35 +053032EXTRA_OECONF = "YAML_PATH=${STAGING_DATADIR_NATIVE}/${PN}"