summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/pldm/pldm_%.bbappend
blob: d997e1691931cf29b651c8234940526fe0fc05e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Force the mctp-demux to be used until machine is ready to use in-kernel MCTP
PACKAGECONFIG = "transport-mctp-demux"

PACKAGECONFIG += "oem-ibm"
PACKAGECONFIG[oem-ibm] = "-Doem-ibm=enabled, -Doem-ibm=disabled, , squashfs-tools"

EXTRA_OEMESON += " \
        -Dsoftoff-timeout-seconds=2700 \
        "

#5 second timeout defined inside PLDM has seen issues during reset reload
#so increasing that to 10 seconds here.IBMs custom firmware stack can tolerate
#PLDM timeouts of up to 20 seconds, so using timeout value of 10 seconds is safe.
EXTRA_OEMESON += " \
         -Ddbus-timeout-value=10 \
        "

SYSTEMD_SERVICE:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'oem-ibm', \
    'pldm-create-phyp-nvram.service \
     pldm-create-phyp-nvram-cksum.service \
    ', '', d)}"