Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 1 | PACKAGECONFIG:append:witherspoon-tacoma = " openpower-pels" |
| 2 | PACKAGECONFIG:append:p10bmc = " openpower-pels" |
Matt Spinler | 07dedc2 | 2020-10-29 15:27:26 -0500 | [diff] [blame] | 3 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 4 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" |
Matt Spinler | 07dedc2 | 2020-10-29 15:27:26 -0500 | [diff] [blame] | 5 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 6 | SRC_URI:append:p10bmc = " file://ibm,rainier-2u_dev_callouts.json" |
| 7 | SRC_URI:append:p10bmc = " file://ibm,rainier-4u_dev_callouts.json" |
| 8 | SRC_URI:append:p10bmc = " file://ibm,everest_dev_callouts.json" |
| 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" |
| 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. |
Patrick Williams | 8c561ee | 2021-10-22 14:20:12 -0500 | [diff] [blame] | 14 | PACKAGECONFIG:append = " ${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}" |
Jayanth Othayoth | 0a5df1e | 2021-11-11 06:44:50 -0600 | [diff] [blame] | 15 | PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg ipl" |
Jayanth Othayoth | fa28a72 | 2021-06-21 07:26:05 -0500 | [diff] [blame] | 16 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 17 | do_install:append:p10bmc() { |
Matt Spinler | 07dedc2 | 2020-10-29 15:27:26 -0500 | [diff] [blame] | 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 | } |