blob: 139cc90df17298b7f5e13d00e30949dc45f907f6 [file] [log] [blame]
Zane Shelley67143732021-03-23 17:08:45 -05001SUMMARY = "Hardware Diagnostics for POWER Systems"
Brad Bishopfac997f2020-02-03 17:09:22 -05002
Zane Shelley67143732021-03-23 17:08:45 -05003DESCRIPTION = \
4 "In the event of a system fatal error reported by the internal system \
5 hardware (processor chips, memory chips, I/O chips, system memory, etc.), \
6 POWER Systems have the ability to diagnose the root cause of the failure \
7 and perform any service action needed to avoid repeated system failures."
8
Zane Shelley92804a72021-06-04 17:18:22 -05009HOMEPAGE = "https://github.com/openbmc/openpower-hw-diags"
10
Brad Bishopfac997f2020-02-03 17:09:22 -050011LICENSE = "Apache-2.0"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
13
Zane Shelley92804a72021-06-04 17:18:22 -050014PR = "r1"
15PV = "0.1+git${SRCPV}"
Brad Bishopfac997f2020-02-03 17:09:22 -050016
Zane Shelley67143732021-03-23 17:08:45 -050017SRC_URI = "git://github.com/openbmc/openpower-hw-diags"
Andrew Geissler6a095932021-08-25 18:50:25 +000018SRCREV = "9513582b8748fe2566ff451c2a2514e079dd56fb"
Zane Shelley67143732021-03-23 17:08:45 -050019
Zane Shelley92804a72021-06-04 17:18:22 -050020S = "${WORKDIR}/git"
21
22inherit meson systemd
23
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000024SYSTEMD_SERVICE:${PN} = "attn_handler.service"
Zane Shelley67143732021-03-23 17:08:45 -050025
Zane Shelleyb6d95ee2021-02-10 17:43:44 -060026DEPENDS = "boost libgpiod pdbg phosphor-logging sdbusplus openpower-libhei \
Zane Shelley0f7d1e52021-08-04 22:59:53 -050027 nlohmann-json valijson"
Zane Shelleyb6d95ee2021-02-10 17:43:44 -060028
Zane Shelley8dff99b2020-11-10 19:56:40 -060029# This is required so that libhei is installed with the chip data files.
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000030RDEPENDS:${PN} += "openpower-libhei"
Zane Shelleyaa8acf12021-03-23 17:13:08 -050031
32# Conditionally pull in PHAL APIs, if available.
33PACKAGECONFIG ??= "${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}"
34PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata"
35