xref: /openbmc/openbmc/meta-ibm/recipes-phosphor/logging/phosphor-logging_%.bbappend (revision a28ea1b30f0e418f52c85d9dba1872a17d146a15)
1b96c7504SAdriana KobylakPACKAGECONFIG:append:p10bmc = " openpower-pels"
207dedc26SMatt Spinler
3b96c7504SAdriana KobylakFILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
407dedc26SMatt Spinler
54dd3fe9aSMatt SpinlerSRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json"
64dd3fe9aSMatt SpinlerSRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json"
74dd3fe9aSMatt SpinlerSRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json"
84dd3fe9aSMatt SpinlerSRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json"
9*a28ea1b3SMatt SpinlerSRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Balcones_dev_callouts.json"
104dd3fe9aSMatt SpinlerFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json"
114dd3fe9aSMatt SpinlerFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json"
124dd3fe9aSMatt SpinlerFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json"
134dd3fe9aSMatt SpinlerFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json"
14*a28ea1b3SMatt SpinlerFILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Balcones_dev_callouts.json"
1507dedc26SMatt Spinler
16fa28a72fSJayanth Othayoth#Enable phal feature, if available.
178c561eecSPatrick WilliamsPACKAGECONFIG:append = " ${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}"
180a5df1eeSJayanth OthayothPACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg ipl"
19fa28a72fSJayanth Othayoth
20b96c7504SAdriana Kobylakdo_install:append:p10bmc() {
2107dedc26SMatt Spinler    install -d ${D}/${datadir}/phosphor-logging/pels
2291a1cec2SAndrew Geissler    install -m 0644 ${UNPACKDIR}/com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json
2391a1cec2SAndrew Geissler    install -m 0644 ${UNPACKDIR}/com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json
2491a1cec2SAndrew Geissler    install -m 0644 ${UNPACKDIR}/com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json
2591a1cec2SAndrew Geissler    install -m 0644 ${UNPACKDIR}/com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json
26*a28ea1b3SMatt Spinler    install -m 0644 ${UNPACKDIR}/com.ibm.Hardware.Chassis.Model.Balcones_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Balcones_dev_callouts.json
274dd3fe9aSMatt 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
2807dedc26SMatt Spinler}
29