blob: 01714829f07530af8f0da1ff85ece2c0fd43cca7 [file] [log] [blame]
Matt Spinler59441912020-03-24 19:36:10 +00001PACKAGECONFIG_append_witherspoon-tacoma = " openpower-pels"
Adriana Kobylakdd625942021-03-25 16:44:49 +00002PACKAGECONFIG_append_p10bmc = " openpower-pels"
Matt Spinler07dedc22020-10-29 15:27:26 -05003
4FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
5
6SRC_URI_append_p10bmc = " file://ibm,rainier-2u_dev_callouts.json"
7SRC_URI_append_p10bmc = " file://ibm,rainier-4u_dev_callouts.json"
Sumit Kumard153e1b2021-06-22 10:07:27 -05008SRC_URI_append_p10bmc = " file://ibm,everest_dev_callouts.json"
Matt Spinler07dedc22020-10-29 15:27:26 -05009FILES_${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"
Sumit Kumard153e1b2021-06-22 10:07:27 -050011FILES_${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.
14PACKAGECONFIG_append = " ${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}"
15PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg"
16
Matt Spinler07dedc22020-10-29 15:27:26 -050017do_install_append_p10bmc() {
18 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}