Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 1 | SUMMARY = "Phosphor Debug Collector" |
| 2 | DESCRIPTION = "Phosphor Debug Collector provides mechanisms \ |
| 3 | to collect various FFDC files and system parameters. \ |
| 4 | This will be helpful for troubleshooting the problems in OpenBMC \ |
| 5 | based systems." |
| 6 | |
| 7 | PR = "r1" |
| 8 | |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 9 | DEBUG_COLLECTOR_PKGS = " \ |
| 10 | ${PN}-manager \ |
| 11 | ${PN}-monitor \ |
| 12 | " |
| 13 | PACKAGES =+ "${DEBUG_COLLECTOR_PKGS}" |
| 14 | PACKAGES_remove = "${PN}" |
| 15 | RDEPENDS_${PN}-dev = "${DEBUG_COLLECTOR_PKGS}" |
| 16 | RDEPENDS_${PN}-staticdev = "${DEBUG_COLLECTOR_PKGS}" |
| 17 | |
| 18 | DBUS_PACKAGES = "${PN}-manager" |
| 19 | |
| 20 | SYSTEMD_PACKAGES = "${PN}-monitor" |
| 21 | |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 22 | inherit autotools \ |
| 23 | pkgconfig \ |
Jayanth Othayoth | aae91e3 | 2017-06-05 03:10:00 -0500 | [diff] [blame] | 24 | obmc-phosphor-dbus-service \ |
Jayanth Othayoth | 5f6d885 | 2017-07-05 10:31:16 -0500 | [diff] [blame] | 25 | pythonnative \ |
| 26 | phosphor-debug-collector |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 27 | |
| 28 | require phosphor-debug-collector.inc |
| 29 | |
| 30 | DEPENDS += " \ |
| 31 | phosphor-dbus-interfaces \ |
| 32 | phosphor-dbus-interfaces-native \ |
| 33 | phosphor-logging \ |
| 34 | sdbusplus \ |
| 35 | sdbusplus-native \ |
| 36 | autoconf-archive-native \ |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 37 | " |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 38 | |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 39 | RDEPENDS_${PN}-manager += " \ |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 40 | sdbusplus \ |
| 41 | phosphor-dbus-interfaces \ |
| 42 | phosphor-logging \ |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 43 | " |
| 44 | RDEPENDS_${PN}-monitor += " \ |
| 45 | sdbusplus \ |
| 46 | phosphor-dbus-interfaces \ |
| 47 | phosphor-logging \ |
| 48 | " |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 49 | |
Jayanth Othayoth | 5f6d885 | 2017-07-05 10:31:16 -0500 | [diff] [blame] | 50 | MGR_SVC ?= "xyz.openbmc_project.Dump.Manager.service" |
| 51 | |
| 52 | SYSTEMD_SUBSTITUTIONS += "BMC_DUMP_PATH:${bmc_dump_path}:${MGR_SVC}" |
| 53 | |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 54 | FILES_${PN}-manager += "${sbindir}/phosphor-dump-manager" |
| 55 | FILES_${PN}-monitor += "${sbindir}/phosphor-dump-monitor" |
| 56 | |
Jayanth Othayoth | 5f6d885 | 2017-07-05 10:31:16 -0500 | [diff] [blame] | 57 | DBUS_SERVICE_${PN}-manager += "${MGR_SVC}" |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 58 | SYSTEMD_SERVICE_${PN}-monitor += "obmc-dump-monitor.service" |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 59 | |
Jayanth Othayoth | f1b8517 | 2017-07-05 10:54:35 -0500 | [diff] [blame] | 60 | EXTRA_OECONF = "BMC_DUMP_PATH=${bmc_dump_path}" |
Jayanth Othayoth | 5f6d885 | 2017-07-05 10:31:16 -0500 | [diff] [blame] | 61 | |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 62 | S = "${WORKDIR}/git" |