16714373fSZane ShelleySUMMARY = "Hardware Diagnostics for POWER Systems"
2fac997f3SBrad Bishop
36714373fSZane ShelleyDESCRIPTION = \
46714373fSZane Shelley    "In the event of a system fatal error reported by the internal system \
56714373fSZane Shelley    hardware (processor chips, memory chips, I/O chips, system memory, etc.), \
66714373fSZane Shelley    POWER Systems have the ability to diagnose the root cause of the failure \
76714373fSZane Shelley    and perform any service action needed to avoid repeated system failures."
86714373fSZane Shelley
992804a7dSZane ShelleyHOMEPAGE = "https://github.com/openbmc/openpower-hw-diags"
1092804a7dSZane Shelley
11fac997f3SBrad BishopLICENSE = "Apache-2.0"
12fac997f3SBrad BishopLIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
13fac997f3SBrad Bishop
1492804a7dSZane ShelleyPR = "r1"
1592804a7dSZane ShelleyPV = "0.1+git${SRCPV}"
16fac997f3SBrad Bishop
176714373fSZane ShelleySRC_URI = "git://github.com/openbmc/openpower-hw-diags"
18a0a0912fSAndrew GeisslerSRCREV = "a7369f86a55ecffc6024d2a6ccd0f53d13d3a2bb"
196714373fSZane Shelley
2092804a7dSZane ShelleyS = "${WORKDIR}/git"
2192804a7dSZane Shelley
2292804a7dSZane Shelleyinherit meson systemd
2392804a7dSZane Shelley
248c6707f0SAdriana KobylakSYSTEMD_SERVICE:${PN} = "attn_handler.service"
256714373fSZane Shelley
26b6d95eeeSZane ShelleyDEPENDS = "boost libgpiod pdbg phosphor-logging sdbusplus openpower-libhei \
270f7d1e5cSZane Shelley           nlohmann-json valijson"
28b6d95eeeSZane Shelley
298dff99bcSZane Shelley# This is required so that libhei is installed with the chip data files.
308c6707f0SAdriana KobylakRDEPENDS:${PN} += "openpower-libhei"
31aa8acf1bSZane Shelley
32aa8acf1bSZane Shelley# Conditionally pull in PHAL APIs, if available.
33aa8acf1bSZane ShelleyPACKAGECONFIG ??= "${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}"
34*2ded481fSBen TynerPACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, ipl pdata"
35aa8acf1bSZane Shelley
36