16714373fSZane ShelleyHOMEPAGE = "https://github.com/openbmc/openpower-hw-diags"
26714373fSZane ShelleySUMMARY = "Hardware Diagnostics for POWER Systems"
3fac997f3SBrad Bishop
46714373fSZane ShelleyDESCRIPTION = \
56714373fSZane Shelley    "In the event of a system fatal error reported by the internal system \
66714373fSZane Shelley    hardware (processor chips, memory chips, I/O chips, system memory, etc.), \
76714373fSZane Shelley    POWER Systems have the ability to diagnose the root cause of the failure \
86714373fSZane Shelley    and perform any service action needed to avoid repeated system failures."
96714373fSZane Shelley
106714373fSZane ShelleyPV = "0.1+git${SRCPV}"
11fac997f3SBrad BishopLICENSE = "Apache-2.0"
12fac997f3SBrad BishopLIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
13fac997f3SBrad Bishop
146714373fSZane Shelleyinherit meson systemd
15fac997f3SBrad Bishop
16fac997f3SBrad BishopS = "${WORKDIR}/git"
17fac997f3SBrad Bishop
186714373fSZane ShelleySRC_URI = "git://github.com/openbmc/openpower-hw-diags"
190a3c468dSAndrew GeisslerSRCREV = "982f172262693198f649d4d8918e5defb1ff6c9c"
206714373fSZane Shelley
216714373fSZane ShelleySYSTEMD_SERVICE_${PN} = "attn_handler.service"
226714373fSZane Shelley
23b6d95eeeSZane ShelleyDEPENDS = "boost libgpiod pdbg phosphor-logging sdbusplus openpower-libhei \
24b6d95eeeSZane Shelley           nlohmann-json"
25b6d95eeeSZane Shelley
268dff99bcSZane Shelley# This is required so that libhei is installed with the chip data files.
278dff99bcSZane ShelleyRDEPENDS_${PN} += "openpower-libhei"
28*aa8acf1bSZane Shelley
29*aa8acf1bSZane Shelley# Conditionally pull in PHAL APIs, if available.
30*aa8acf1bSZane ShelleyPACKAGECONFIG ??= "${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}"
31*aa8acf1bSZane ShelleyPACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata"
32*aa8acf1bSZane Shelley
33