Brad Bishop | 37653df | 2017-05-12 13:02:56 -0400 | [diff] [blame] | 1 | SUMMARY = "Phosphor OpenBMC event and error logging" |
| 2 | DESCRIPTION = "An error and event log daemon application, and \ |
| 3 | supporting tools for OpenBMC." |
Adriana Kobylak | b02da7b | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 4 | HOMEPAGE = "https://github.com/openbmc/phosphor-logging" |
| 5 | PR = "r1" |
Patrick Venture | 5bce7d7 | 2018-10-21 08:22:43 -0700 | [diff] [blame] | 6 | PV = "1.0+git${SRCPV}" |
Brad Bishop | 75f0387 | 2018-11-03 09:41:57 -0700 | [diff] [blame] | 7 | LICENSE = "Apache-2.0" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Adriana Kobylak | b02da7b | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 9 | |
| 10 | inherit autotools pkgconfig |
Matt Spinler | eca5890 | 2020-03-06 09:24:33 -0600 | [diff] [blame] | 11 | inherit python3native |
Adriana Kobylak | b02da7b | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 12 | inherit obmc-phosphor-dbus-service |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 13 | inherit phosphor-logging |
Marri Devender Rao | bf369d0 | 2017-06-06 08:39:39 -0500 | [diff] [blame] | 14 | inherit phosphor-dbus-yaml |
Adriana Kobylak | b02da7b | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 15 | |
Adriana Kobylak | b02da7b | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 16 | DEPENDS += "autoconf-archive-native" |
| 17 | DEPENDS += "systemd" |
Matt Spinler | 017f942 | 2020-03-13 15:57:29 -0500 | [diff] [blame] | 18 | DEPENDS += "${PYTHON_PN}-mako-native" |
| 19 | DEPENDS += "${PYTHON_PN}-pyyaml-native" |
| 20 | DEPENDS += "${PYTHON_PN}-native" |
Patrick Williams | 4b32c9a | 2020-03-31 16:43:15 -0500 | [diff] [blame] | 21 | DEPENDS += "${PYTHON_PN}-sdbus++-native" |
| 22 | DEPENDS += "sdbusplus" |
Patrick Williams | add9383 | 2020-06-10 06:52:05 -0500 | [diff] [blame] | 23 | DEPENDS += "phosphor-dbus-interfaces" |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 24 | DEPENDS += "virtual/phosphor-logging-callouts" |
Brad Bishop | 17c08bf | 2018-10-18 17:07:53 -0400 | [diff] [blame] | 25 | DEPENDS += "libcereal" |
Matt Spinler | f319ea6 | 2019-07-23 16:04:04 -0500 | [diff] [blame] | 26 | DEPENDS += "sdeventplus" |
Patrick Williams | 60c4907 | 2021-04-16 14:14:26 -0500 | [diff] [blame] | 27 | DEPENDS += "packagegroup-obmc-yaml-providers" |
Adriana Kobylak | b02da7b | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 28 | |
Michael Tritz | 026fbaf | 2017-03-13 14:54:24 -0500 | [diff] [blame] | 29 | PACKAGE_BEFORE_PN = "${PN}-test" |
| 30 | FILES_${PN}-test = "${bindir}/*-test" |
| 31 | |
Deepak Kodihalli | 6446477 | 2018-08-24 08:05:14 -0500 | [diff] [blame] | 32 | # Package configuration |
| 33 | LOGGING_PACKAGES = " \ |
| 34 | ${PN}-base \ |
Deepak Kodihalli | 04aa22f | 2018-08-28 11:39:41 -0500 | [diff] [blame] | 35 | phosphor-rsyslog-config \ |
Deepak Kodihalli | 6446477 | 2018-08-24 08:05:14 -0500 | [diff] [blame] | 36 | " |
| 37 | |
| 38 | ALLOW_EMPTY_${PN} = "1" |
| 39 | PACKAGE_BEFORE_PN += "${LOGGING_PACKAGES}" |
| 40 | SYSTEMD_PACKAGES = "${LOGGING_PACKAGES}" |
| 41 | DBUS_PACKAGES = "${LOGGING_PACKAGES}" |
| 42 | |
Deepak Kodihalli | 6446477 | 2018-08-24 08:05:14 -0500 | [diff] [blame] | 43 | FILES_${PN}-base += " \ |
Patrick Venture | cb51ccb | 2019-04-04 14:49:25 -0700 | [diff] [blame] | 44 | ${bindir}/phosphor-log-manager \ |
Deepak Kodihalli | 6446477 | 2018-08-24 08:05:14 -0500 | [diff] [blame] | 45 | ${libdir}/libphosphor_logging.so.* \ |
| 46 | " |
| 47 | DBUS_SERVICE_${PN}-base += "xyz.openbmc_project.Logging.service" |
| 48 | |
Deepak Kodihalli | 04aa22f | 2018-08-28 11:39:41 -0500 | [diff] [blame] | 49 | DBUS_SERVICE_phosphor-rsyslog-config += "xyz.openbmc_project.Syslog.Config.service" |
| 50 | FILES_phosphor-rsyslog-config += " \ |
Patrick Venture | cb51ccb | 2019-04-04 14:49:25 -0700 | [diff] [blame] | 51 | ${bindir}/phosphor-rsyslog-conf \ |
Deepak Kodihalli | 04aa22f | 2018-08-28 11:39:41 -0500 | [diff] [blame] | 52 | " |
| 53 | |
Adriana Kobylak | b02da7b | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 54 | SRC_URI += "git://github.com/openbmc/phosphor-logging" |
Andrew Geissler | 439d116 | 2021-04-27 06:51:15 +0000 | [diff] [blame^] | 55 | SRCREV = "a1c4338ece021ed22b575be0502f2e733c739579" |
Adriana Kobylak | b02da7b | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 56 | |
| 57 | S = "${WORKDIR}/git" |
| 58 | |
Patrick Williams | 60c4907 | 2021-04-16 14:14:26 -0500 | [diff] [blame] | 59 | PACKAGECONFIG ??= "metadata-processing" |
Marri Devender Rao | 6c41d2e | 2017-09-27 10:56:40 -0500 | [diff] [blame] | 60 | |
Deepak Kodihalli | 430a506 | 2017-03-28 07:47:51 -0500 | [diff] [blame] | 61 | PACKAGECONFIG[metadata-processing] = " \ |
| 62 | --enable-metadata-processing, \ |
| 63 | --disable-metadata-processing, , \ |
| 64 | " |
| 65 | |
Matt Spinler | f851092 | 2019-08-08 13:21:24 -0500 | [diff] [blame] | 66 | PACKAGECONFIG[openpower-pels] = " \ |
| 67 | --enable-openpower-pel-extension, \ |
Matt Spinler | 949e4dc | 2019-09-26 15:17:15 -0500 | [diff] [blame] | 68 | --disable-openpower-pel-extension, \ |
Sumit Kumar | 7e10dee | 2021-04-20 02:24:24 -0500 | [diff] [blame] | 69 | nlohmann-json cli11 pldm, \ |
Harisuddin Mohamed Isa | cdfe38f | 2020-06-05 16:47:37 +0800 | [diff] [blame] | 70 | python3, \ |
Matt Spinler | f851092 | 2019-08-08 13:21:24 -0500 | [diff] [blame] | 71 | " |
| 72 | |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 73 | EXTRA_OECONF = " \ |
Patrick Williams | add9383 | 2020-06-10 06:52:05 -0500 | [diff] [blame] | 74 | YAML_DIR=${STAGING_DIR_TARGET}${yaml_dir} \ |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 75 | CALLOUTS_YAML=${STAGING_DIR_NATIVE}${callouts_datadir}/callouts.yaml \ |
| 76 | " |