meta-ibm: sbe error handling support

Phosphor logging PEL infrastructure provide supports to
process SBE chip-op failures and creating PEL.
PEL creation required to process SBE provided FFDC packets.
This FFDC is initially created by SBE using FAPI based
infrastructure for the hardware procedure execution failures.
To extract this data to convert into PEL required format
requires additional processing. This processing required
PHAL(Power Hardware Abstraction layer) based back-end
support.

Added required packages support for PHAL feature enabled
systems.

Test: verified build.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I5cf1a30514aa0a5bfdf2fe3a288dac9d5a0b5b47
diff --git a/meta-ibm/recipes-phosphor/logging/phosphor-logging_%.bbappend b/meta-ibm/recipes-phosphor/logging/phosphor-logging_%.bbappend
index 2f0ace2..ac43352 100644
--- a/meta-ibm/recipes-phosphor/logging/phosphor-logging_%.bbappend
+++ b/meta-ibm/recipes-phosphor/logging/phosphor-logging_%.bbappend
@@ -8,6 +8,10 @@
 FILES_${PN}_append_p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-2u_dev_callouts.json"
 FILES_${PN}_append_p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-4u_dev_callouts.json"
 
+#Enable phal feature, if available.
+PACKAGECONFIG_append = " ${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}"
+PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg"
+
 do_install_append_p10bmc() {
     install -d ${D}/${datadir}/phosphor-logging/pels
     install -m 0644 ${WORKDIR}/ibm,rainier-2u_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,rainier-2u_dev_callouts.json