blob: dba668bed2cfcc2782fc36d6302136c77bc08827 [file] [log] [blame]
Zane Shelley67143732021-03-23 17:08:45 -05001HOMEPAGE = "https://github.com/openbmc/openpower-hw-diags"
2SUMMARY = "Hardware Diagnostics for POWER Systems"
Brad Bishopfac997f2020-02-03 17:09:22 -05003
Zane Shelley67143732021-03-23 17:08:45 -05004DESCRIPTION = \
5 "In the event of a system fatal error reported by the internal system \
6 hardware (processor chips, memory chips, I/O chips, system memory, etc.), \
7 POWER Systems have the ability to diagnose the root cause of the failure \
8 and perform any service action needed to avoid repeated system failures."
9
10PV = "0.1+git${SRCPV}"
Brad Bishopfac997f2020-02-03 17:09:22 -050011LICENSE = "Apache-2.0"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
13
Zane Shelley67143732021-03-23 17:08:45 -050014inherit meson systemd
Brad Bishopfac997f2020-02-03 17:09:22 -050015
16S = "${WORKDIR}/git"
17
Zane Shelley67143732021-03-23 17:08:45 -050018SRC_URI = "git://github.com/openbmc/openpower-hw-diags"
Andrew Geissler7b034df2021-05-06 20:50:21 +000019SRCREV = "832526df90ead77f5dcb501406cb07fbbfa7046b"
Zane Shelley67143732021-03-23 17:08:45 -050020
21SYSTEMD_SERVICE_${PN} = "attn_handler.service"
Zane Shelley67143732021-03-23 17:08:45 -050022
Zane Shelleyb6d95ee2021-02-10 17:43:44 -060023DEPENDS = "boost libgpiod pdbg phosphor-logging sdbusplus openpower-libhei \
24 nlohmann-json"
25
Zane Shelley8dff99b2020-11-10 19:56:40 -060026# This is required so that libhei is installed with the chip data files.
27RDEPENDS_${PN} += "openpower-libhei"
Zane Shelleyaa8acf12021-03-23 17:13:08 -050028
29# Conditionally pull in PHAL APIs, if available.
30PACKAGECONFIG ??= "${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}"
31PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata"
32