blob: c8f323c002e793b5efc7d65e55993832ec8bc59d [file] [log] [blame]
Adriana Kobylakb96c7502021-08-06 16:25:30 +00001PACKAGECONFIG:append:witherspoon-tacoma = " openpower-pels"
2PACKAGECONFIG:append:p10bmc = " openpower-pels"
Matt Spinler07dedc22020-10-29 15:27:26 -05003
Adriana Kobylakb96c7502021-08-06 16:25:30 +00004FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
Matt Spinler07dedc22020-10-29 15:27:26 -05005
Matt Spinler4dd3fe92024-01-11 22:05:31 +00006SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json"
7SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json"
8SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json"
9SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json"
10FILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json"
11FILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json"
12FILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json"
13FILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json"
Matt Spinler07dedc22020-10-29 15:27:26 -050014
Jayanth Othayothfa28a722021-06-21 07:26:05 -050015#Enable phal feature, if available.
Patrick Williams8c561ee2021-10-22 14:20:12 -050016PACKAGECONFIG:append = " ${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}"
Jayanth Othayoth0a5df1e2021-11-11 06:44:50 -060017PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg ipl"
Jayanth Othayothfa28a722021-06-21 07:26:05 -050018
Adriana Kobylakb96c7502021-08-06 16:25:30 +000019do_install:append:p10bmc() {
Matt Spinler07dedc22020-10-29 15:27:26 -050020 install -d ${D}/${datadir}/phosphor-logging/pels
Matt Spinler4dd3fe92024-01-11 22:05:31 +000021 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 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 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 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 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
Matt Spinler07dedc22020-10-29 15:27:26 -050026}