blob: 4a5aa3feb554be4f7dbd26b401860e092259b8af [file] [log] [blame]
Marri Devender Rao84f125e2017-04-27 03:38:39 -05001SUMMARY = "OpenPOWER Debug Collector"
Vishwanatha Subbannaeeae33c2017-06-13 15:00:24 +05302DESCRIPTION = "Application to log error during host checkstop and watchdog timeout"
Marri Devender Rao84f125e2017-04-27 03:38:39 -05003
4PR = "r1"
Patrick Venturee2e5fa72018-10-26 09:43:44 -07005PV = "1.0+git${SRCPV}"
Marri Devender Rao84f125e2017-04-27 03:38:39 -05006
Shantappa Teekappanavar6ff8cd82021-06-22 12:45:28 -05007inherit meson \
Marri Devender Rao84f125e2017-04-27 03:38:39 -05008 obmc-phosphor-systemd \
Jayanth Othayoth9b2384a2020-02-20 00:13:48 -06009 python3native \
Marri Devender Raodb5a6c42017-09-27 21:55:57 -050010 phosphor-dbus-yaml
Marri Devender Rao84f125e2017-04-27 03:38:39 -050011
Patrick Williams6c9e0142020-04-03 15:45:27 -050012require ${BPN}.inc
Andrew Geissleree126002021-02-01 16:17:23 -060013require ${BPN}-systemd-links.inc
Marri Devender Rao84f125e2017-04-27 03:38:39 -050014
15DEPENDS += " \
16 phosphor-logging \
Patrick Williamsba5282b2020-03-31 16:43:15 -050017 ${PYTHON_PN}-sdbus++-native \
Andrew Geissler6fe762a2021-08-11 05:00:23 +000018 cli11 \
Marri Devender Rao84f125e2017-04-27 03:38:39 -050019 "
Marri Devender Rao84f125e2017-04-27 03:38:39 -050020S = "${WORKDIR}/git"
21
Shantappa Teekappanavar47acdb12021-08-24 22:08:31 -050022# This provides below applications that are called into in case
23# of host checkstop, host watchdog and host watchdog-timeout respectively.
24APPS = "checkstop watchdog watchdog-timeout"
Marri Devender Rao84f125e2017-04-27 03:38:39 -050025
Vishwanatha Subbannab7f74192017-06-13 14:11:06 +053026DEBUG_TMPL = "openpower-debug-collector-{0}@.service"
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000027SYSTEMD_SERVICE:${PN} += "${@compose_list(d, 'DEBUG_TMPL', 'APPS')}"
Vishwanatha Subbannab7f74192017-06-13 14:11:06 +053028
Marri Devender Raodb5a6c42017-09-27 21:55:57 -050029# Do not depend on phosphor-logging for native build
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000030DEPENDS:remove:class-native = "phosphor-logging"
Marri Devender Raodb5a6c42017-09-27 21:55:57 -050031
32# Do not depend on phosphor-logging for native SDK build
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000033DEPENDS:remove:class-nativesdk = "phosphor-logging"