Matt Spinler | 5944191 | 2020-03-24 19:36:10 +0000 | [diff] [blame] | 1 | PACKAGECONFIG_append_witherspoon-tacoma = " openpower-pels" |
Adriana Kobylak | dd62594 | 2021-03-25 16:44:49 +0000 | [diff] [blame] | 2 | PACKAGECONFIG_append_p10bmc = " openpower-pels" |
Matt Spinler | 07dedc2 | 2020-10-29 15:27:26 -0500 | [diff] [blame] | 3 | |
| 4 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" |
| 5 | |
| 6 | SRC_URI_append_p10bmc = " file://ibm,rainier-2u_dev_callouts.json" |
| 7 | SRC_URI_append_p10bmc = " file://ibm,rainier-4u_dev_callouts.json" |
Sumit Kumar | d153e1b | 2021-06-22 10:07:27 -0500 | [diff] [blame] | 8 | SRC_URI_append_p10bmc = " file://ibm,everest_dev_callouts.json" |
Matt Spinler | 07dedc2 | 2020-10-29 15:27:26 -0500 | [diff] [blame] | 9 | FILES_${PN}_append_p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-2u_dev_callouts.json" |
| 10 | FILES_${PN}_append_p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-4u_dev_callouts.json" |
Sumit Kumar | d153e1b | 2021-06-22 10:07:27 -0500 | [diff] [blame] | 11 | FILES_${PN}_append_p10bmc = " ${datadir}/phosphor-logging/pels/ibm,everest_dev_callouts.json" |
Matt Spinler | 07dedc2 | 2020-10-29 15:27:26 -0500 | [diff] [blame] | 12 | |
Jayanth Othayoth | fa28a72 | 2021-06-21 07:26:05 -0500 | [diff] [blame] | 13 | #Enable phal feature, if available. |
| 14 | PACKAGECONFIG_append = " ${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}" |
| 15 | PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg" |
| 16 | |
Matt Spinler | 07dedc2 | 2020-10-29 15:27:26 -0500 | [diff] [blame] | 17 | do_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 Kumar | d153e1b | 2021-06-22 10:07:27 -0500 | [diff] [blame] | 21 | install -m 0644 ${WORKDIR}/ibm,everest_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,everest_dev_callouts.json |
Andrew Geissler | 8516182 | 2021-03-29 11:59:01 -0500 | [diff] [blame] | 22 | ln -s ./ibm,rainier-4u_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,rainier-1s4u_dev_callouts.json |
Matt Spinler | 07dedc2 | 2020-10-29 15:27:26 -0500 | [diff] [blame] | 23 | } |