Marri Devender Rao | 84f125e | 2017-04-27 03:38:39 -0500 | [diff] [blame] | 1 | SUMMARY = "OpenPOWER Debug Collector" |
Vishwanatha Subbanna | eeae33c | 2017-06-13 15:00:24 +0530 | [diff] [blame] | 2 | DESCRIPTION = "Application to log error during host checkstop and watchdog timeout" |
Marri Devender Rao | 84f125e | 2017-04-27 03:38:39 -0500 | [diff] [blame] | 3 | |
| 4 | PR = "r1" |
Patrick Venture | e2e5fa7 | 2018-10-26 09:43:44 -0700 | [diff] [blame] | 5 | PV = "1.0+git${SRCPV}" |
Marri Devender Rao | 84f125e | 2017-04-27 03:38:39 -0500 | [diff] [blame] | 6 | |
Shantappa Teekappanavar | 6ff8cd8 | 2021-06-22 12:45:28 -0500 | [diff] [blame] | 7 | inherit meson \ |
Marri Devender Rao | 84f125e | 2017-04-27 03:38:39 -0500 | [diff] [blame] | 8 | obmc-phosphor-systemd \ |
Jayanth Othayoth | 9b2384a | 2020-02-20 00:13:48 -0600 | [diff] [blame] | 9 | python3native \ |
Marri Devender Rao | db5a6c4 | 2017-09-27 21:55:57 -0500 | [diff] [blame] | 10 | phosphor-dbus-yaml |
Marri Devender Rao | 84f125e | 2017-04-27 03:38:39 -0500 | [diff] [blame] | 11 | |
Patrick Williams | 6c9e014 | 2020-04-03 15:45:27 -0500 | [diff] [blame] | 12 | require ${BPN}.inc |
Andrew Geissler | ee12600 | 2021-02-01 16:17:23 -0600 | [diff] [blame] | 13 | require ${BPN}-systemd-links.inc |
Marri Devender Rao | 84f125e | 2017-04-27 03:38:39 -0500 | [diff] [blame] | 14 | |
| 15 | DEPENDS += " \ |
| 16 | phosphor-logging \ |
Patrick Williams | ba5282b | 2020-03-31 16:43:15 -0500 | [diff] [blame] | 17 | ${PYTHON_PN}-sdbus++-native \ |
Andrew Geissler | 6fe762a | 2021-08-11 05:00:23 +0000 | [diff] [blame] | 18 | cli11 \ |
Marri Devender Rao | 84f125e | 2017-04-27 03:38:39 -0500 | [diff] [blame] | 19 | " |
Marri Devender Rao | 84f125e | 2017-04-27 03:38:39 -0500 | [diff] [blame] | 20 | S = "${WORKDIR}/git" |
| 21 | |
Shantappa Teekappanavar | 47acdb1 | 2021-08-24 22:08:31 -0500 | [diff] [blame] | 22 | # This provides below applications that are called into in case |
| 23 | # of host checkstop, host watchdog and host watchdog-timeout respectively. |
Shantappa Teekappanavar | 2ffa05e | 2021-08-31 17:49:10 -0500 | [diff] [blame] | 24 | APPS = " \ |
| 25 | checkstop \ |
| 26 | watchdog \ |
| 27 | ${@bb.utils.contains('OBMC_MACHINE_FEATURES', 'phal', '', 'watchdog-timeout', d)} \ |
| 28 | " |
Marri Devender Rao | 84f125e | 2017-04-27 03:38:39 -0500 | [diff] [blame] | 29 | |
Vishwanatha Subbanna | b7f7419 | 2017-06-13 14:11:06 +0530 | [diff] [blame] | 30 | DEBUG_TMPL = "openpower-debug-collector-{0}@.service" |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 31 | SYSTEMD_SERVICE:${PN} += "${@compose_list(d, 'DEBUG_TMPL', 'APPS')}" |
Vishwanatha Subbanna | b7f7419 | 2017-06-13 14:11:06 +0530 | [diff] [blame] | 32 | |
Marri Devender Rao | db5a6c4 | 2017-09-27 21:55:57 -0500 | [diff] [blame] | 33 | # Do not depend on phosphor-logging for native build |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 34 | DEPENDS:remove:class-native = "phosphor-logging" |
Marri Devender Rao | db5a6c4 | 2017-09-27 21:55:57 -0500 | [diff] [blame] | 35 | |
| 36 | # Do not depend on phosphor-logging for native SDK build |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 37 | DEPENDS:remove:class-nativesdk = "phosphor-logging" |