blob: 757ca3163bc4ec4c99cbdea8c55fc905cf4cd726 [file] [log] [blame]
Marri Devender Rao6a48c3c2017-04-27 03:38:39 -05001SUMMARY = "OpenPOWER Debug Collector"
2DESCRIPTION = "Application to log error during host checkstop"
3
4PR = "r1"
5
6inherit autotools \
7 pkgconfig \
8 obmc-phosphor-systemd \
Marri Devender Rao9d873302017-05-14 08:53:45 -05009 pythonnative
Marri Devender Rao6a48c3c2017-04-27 03:38:39 -050010
11require ${PN}.inc
12
13DEPENDS += " \
14 phosphor-logging \
15 autoconf-archive-native \
Marri Devender Rao9d873302017-05-14 08:53:45 -050016 sdbus++-native \
Marri Devender Rao6a48c3c2017-04-27 03:38:39 -050017 "
Marri Devender Rao6a48c3c2017-04-27 03:38:39 -050018RDEPENDS_${PN} += " \
19 phosphor-logging \
20 "
21
22S = "${WORKDIR}/git"
23
Vishwanatha Subbannad322d332017-06-07 22:16:24 +053024# This needs to be executed as part of host crash
25DEBUG_TMPL = "openpower-debug-collector@.service"
26CRASH_TGTFMT = "obmc-host-crash@{0}.target"
27DEBUG_INSTFMT = "openpower-debug-collector@{0}.service"
28CRASH_DEBUG_FMT = "../${DEBUG_TMPL}:${CRASH_TGTFMT}.wants/${DEBUG_INSTFMT}"
Marri Devender Rao6a48c3c2017-04-27 03:38:39 -050029
Vishwanatha Subbannad322d332017-06-07 22:16:24 +053030SYSTEMD_SERVICE_${PN} += "${DEBUG_TMPL}"
31SYSTEMD_LINK_${PN} += "${@compose_list(d, 'CRASH_DEBUG_FMT', 'OBMC_HOST_INSTANCES')}"