blob: 94fffaf770f3456da2752833ab9c49b79345a2ca [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 \
Marri Devender Rao84f125e2017-04-27 03:38:39 -050018 "
Marri Devender Rao84f125e2017-04-27 03:38:39 -050019S = "${WORKDIR}/git"
20
Vishwanatha Subbannab7f74192017-06-13 14:11:06 +053021# This provides below 2 applications that are called into in case
22# of host checkstop and host watchdog timeout respectively.
23APPS = "checkstop watchdog"
Marri Devender Rao84f125e2017-04-27 03:38:39 -050024
Vishwanatha Subbannab7f74192017-06-13 14:11:06 +053025DEBUG_TMPL = "openpower-debug-collector-{0}@.service"
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000026SYSTEMD_SERVICE:${PN} += "${@compose_list(d, 'DEBUG_TMPL', 'APPS')}"
Vishwanatha Subbannab7f74192017-06-13 14:11:06 +053027
Marri Devender Raodb5a6c42017-09-27 21:55:57 -050028
29# 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"