1b96c7504SAdriana KobylakPACKAGECONFIG:append:witherspoon-tacoma = " openpower-pels"
2b96c7504SAdriana KobylakPACKAGECONFIG:append:p10bmc = " openpower-pels"
307dedc26SMatt Spinler
4b96c7504SAdriana KobylakFILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
507dedc26SMatt Spinler
6b96c7504SAdriana KobylakSRC_URI:append:p10bmc = " file://ibm,rainier-2u_dev_callouts.json"
7b96c7504SAdriana KobylakSRC_URI:append:p10bmc = " file://ibm,rainier-4u_dev_callouts.json"
8b96c7504SAdriana KobylakSRC_URI:append:p10bmc = " file://ibm,everest_dev_callouts.json"
9b96c7504SAdriana KobylakFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-2u_dev_callouts.json"
10b96c7504SAdriana KobylakFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-4u_dev_callouts.json"
11b96c7504SAdriana KobylakFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/ibm,everest_dev_callouts.json"
1207dedc26SMatt Spinler
13fa28a72fSJayanth Othayoth#Enable phal feature, if available.
14*8c561eecSPatrick WilliamsPACKAGECONFIG:append = " ${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}"
15fa28a72fSJayanth OthayothPACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg"
16fa28a72fSJayanth Othayoth
17b96c7504SAdriana Kobylakdo_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
21d153e1b5SSumit 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