blob: ac43352c2da4e83ec8af2b0825fd653362abf478 [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"
8FILES_${PN}_append_p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-2u_dev_callouts.json"
9FILES_${PN}_append_p10bmc = " ${datadir}/phosphor-logging/pels/ibm,rainier-4u_dev_callouts.json"
10
Jayanth Othayothfa28a722021-06-21 07:26:05 -050011#Enable phal feature, if available.
12PACKAGECONFIG_append = " ${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal', d)}"
13PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg"
14
Matt Spinler07dedc22020-10-29 15:27:26 -050015do_install_append_p10bmc() {
16 install -d ${D}/${datadir}/phosphor-logging/pels
17 install -m 0644 ${WORKDIR}/ibm,rainier-2u_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,rainier-2u_dev_callouts.json
18 install -m 0644 ${WORKDIR}/ibm,rainier-4u_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/ibm,rainier-4u_dev_callouts.json
Andrew Geissler85161822021-03-29 11:59:01 -050019 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 -050020}