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