1b96c7504SAdriana KobylakPACKAGECONFIG:append:witherspoon-tacoma = " openpower-pels"
2b96c7504SAdriana KobylakPACKAGECONFIG:append:p10bmc = " openpower-pels"
307dedc26SMatt Spinler
4b96c7504SAdriana KobylakFILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
507dedc26SMatt Spinler
6*4dd3fe9aSMatt SpinlerSRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json"
7*4dd3fe9aSMatt SpinlerSRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json"
8*4dd3fe9aSMatt SpinlerSRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json"
9*4dd3fe9aSMatt SpinlerSRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json"
10*4dd3fe9aSMatt SpinlerFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json"
11*4dd3fe9aSMatt SpinlerFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json"
12*4dd3fe9aSMatt SpinlerFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json"
13*4dd3fe9aSMatt SpinlerFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json"
1407dedc26SMatt Spinler
15fa28a72fSJayanth Othayoth#Enable phal feature, if available.
168c561eecSPatrick WilliamsPACKAGECONFIG:append = " ${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}"
170a5df1eeSJayanth OthayothPACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg ipl"
18fa28a72fSJayanth Othayoth
19b96c7504SAdriana Kobylakdo_install:append:p10bmc() {
2007dedc26SMatt Spinler    install -d ${D}/${datadir}/phosphor-logging/pels
21*4dd3fe9aSMatt Spinler    install -m 0644 ${WORKDIR}/com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json
22*4dd3fe9aSMatt Spinler    install -m 0644 ${WORKDIR}/com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json
23*4dd3fe9aSMatt Spinler    install -m 0644 ${WORKDIR}/com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json
24*4dd3fe9aSMatt Spinler    install -m 0644 ${WORKDIR}/com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json
25*4dd3fe9aSMatt Spinler    ln -s ./com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier1S4U_dev_callouts.json
2607dedc26SMatt Spinler}
27