blob: 361417410895a481487c34bfea4145441183265e [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
Adriana Kobylakb96c7502021-08-06 16:25:30 +00006SRC_URI:append:p10bmc = " file://ibm,rainier-2u_dev_callouts.json"
7SRC_URI:append:p10bmc = " file://ibm,rainier-4u_dev_callouts.json"
8SRC_URI:append:p10bmc = " file://ibm,everest_dev_callouts.json"
9FILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-2u_dev_callouts.json"
10FILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-4u_dev_callouts.json"
11FILES:${PN}:append:p10bmc = " ${datadir}/phosphor-logging/pels/ibm,everest_dev_callouts.json"
Matt Spinler07dedc22020-10-29 15:27:26 -050012
Jayanth Othayothfa28a722021-06-21 07:26:05 -050013#Enable phal feature, if available.
Adriana Kobylakb96c7502021-08-06 16:25:30 +000014PACKAGECONFIG:append = " ${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}"
Jayanth Othayothfa28a722021-06-21 07:26:05 -050015PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg"
16
Adriana Kobylakb96c7502021-08-06 16:25:30 +000017do_install:append:p10bmc() {
Matt Spinler07dedc22020-10-29 15:27:26 -050018 install -d ${D}/${datadir}/phosphor-logging/pels
19 install -m 0644 ${WORKDIR}/ibm,rainier-2u_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,rainier-2u_dev_callouts.json
20 install -m 0644 ${WORKDIR}/ibm,rainier-4u_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,rainier-4u_dev_callouts.json
Sumit Kumard153e1b2021-06-22 10:07:27 -050021 install -m 0644 ${WORKDIR}/ibm,everest_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,everest_dev_callouts.json
Andrew Geissler85161822021-03-29 11:59:01 -050022 ln -s ./ibm,rainier-4u_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,rainier-1s4u_dev_callouts.json
Matt Spinler07dedc22020-10-29 15:27:26 -050023}