1e1615142SBrad BishopPACKAGECONFIG_append_witherspoon-tacoma = " openpower-pels"
2dd62594aSAdriana KobylakPACKAGECONFIG_append_p10bmc = " openpower-pels"
307dedc26SMatt Spinler
407dedc26SMatt SpinlerFILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
507dedc26SMatt Spinler
607dedc26SMatt SpinlerSRC_URI_append_p10bmc = " file://ibm,rainier-2u_dev_callouts.json"
707dedc26SMatt SpinlerSRC_URI_append_p10bmc = " file://ibm,rainier-4u_dev_callouts.json"
8*d153e1b5SSumit KumarSRC_URI_append_p10bmc = " file://ibm,everest_dev_callouts.json"
907dedc26SMatt SpinlerFILES_${PN}_append_p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-2u_dev_callouts.json"
1007dedc26SMatt SpinlerFILES_${PN}_append_p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-4u_dev_callouts.json"
11*d153e1b5SSumit KumarFILES_${PN}_append_p10bmc = " ${datadir}/phosphor-logging/pels/ibm,everest_dev_callouts.json"
1207dedc26SMatt Spinler
13fa28a72fSJayanth Othayoth#Enable phal feature, if available.
14fa28a72fSJayanth OthayothPACKAGECONFIG_append = " ${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}"
15fa28a72fSJayanth OthayothPACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg"
16fa28a72fSJayanth Othayoth
1707dedc26SMatt Spinlerdo_install_append_p10bmc() {
1807dedc26SMatt Spinler    install -d ${D}/${datadir}/phosphor-logging/pels
1907dedc26SMatt Spinler    install -m 0644 ${WORKDIR}/ibm,rainier-2u_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,rainier-2u_dev_callouts.json
2007dedc26SMatt Spinler    install -m 0644 ${WORKDIR}/ibm,rainier-4u_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,rainier-4u_dev_callouts.json
21*d153e1b5SSumit Kumar    install -m 0644 ${WORKDIR}/ibm,everest_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,everest_dev_callouts.json
2285161822SAndrew Geissler    ln -s ./ibm,rainier-4u_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,rainier-1s4u_dev_callouts.json
2307dedc26SMatt Spinler}
24