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
17*bb99d22eSPatrick WilliamsSRC_URI = "git://github.com/openbmc/openpower-hw-diags;branch=master;protocol=https"
18505e5276SAndrew GeisslerSRCREV = "e90b85dc659b2a8224fd6a52110460e36277ba6d"
196714373fSZane Shelley
2092804a7dSZane ShelleyS = "${WORKDIR}/git"
2192804a7dSZane Shelley
22baf5ba7cSAndrew Geisslerinherit pkgconfig 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.
338c561eecSPatrick WilliamsPACKAGECONFIG ??= "${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}"
342ded481fSBen TynerPACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, ipl pdata"
35aa8acf1bSZane Shelley
36896d1425SZane Shelley# Don't build CI tests
37896d1425SZane ShelleyEXTRA_OEMESON = "-Dtests=disabled"
38896d1425SZane Shelley
39