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
9*92804a7dSZane ShelleyHOMEPAGE = "https://github.com/openbmc/openpower-hw-diags"
10*92804a7dSZane Shelley
11fac997f3SBrad BishopLICENSE = "Apache-2.0"
12fac997f3SBrad BishopLIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
13fac997f3SBrad Bishop
14*92804a7dSZane ShelleyPR = "r1"
15*92804a7dSZane ShelleyPV = "0.1+git${SRCPV}"
16fac997f3SBrad Bishop
176714373fSZane ShelleySRC_URI = "git://github.com/openbmc/openpower-hw-diags"
180c2d9d5eSAndrew GeisslerSRCREV = "6bc43c9b896724c27317ac50a88e5ddaa2882484"
196714373fSZane Shelley
20*92804a7dSZane ShelleyS = "${WORKDIR}/git"
21*92804a7dSZane Shelley
22*92804a7dSZane Shelleyinherit meson systemd
23*92804a7dSZane Shelley
246714373fSZane ShelleySYSTEMD_SERVICE_${PN} = "attn_handler.service"
256714373fSZane Shelley
26b6d95eeeSZane ShelleyDEPENDS = "boost libgpiod pdbg phosphor-logging sdbusplus openpower-libhei \
27b6d95eeeSZane Shelley           nlohmann-json"
28b6d95eeeSZane Shelley
298dff99bcSZane Shelley# This is required so that libhei is installed with the chip data files.
308dff99bcSZane ShelleyRDEPENDS_${PN} += "openpower-libhei"
31aa8acf1bSZane Shelley
32aa8acf1bSZane Shelley# Conditionally pull in PHAL APIs, if available.
33aa8acf1bSZane ShelleyPACKAGECONFIG ??= "${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}"
34aa8acf1bSZane ShelleyPACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata"
35aa8acf1bSZane Shelley
36