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

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)}"