blob: 7b40d87b3cabbc8efa5b42eef8e32ce79d7e56a6 [file] [log] [blame]
Matt Spinler41d3c842017-03-10 15:08:56 -06001SUMMARY = "OpenPower procedure control"
2DESCRIPTION = "Provides procedures that run against the host chipset"
3PR = "r1"
Patrick Venture80a2b4e2018-10-02 19:14:43 -07004PV = "1.0+git${SRCPV}"
Matt Spinler028c8ea2017-10-04 13:07:06 -05005LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
7
Matt Spinler41d3c842017-03-10 15:08:56 -06008S = "${WORKDIR}/git"
9
Matt Spinler467ed1a2020-03-06 09:41:47 -060010inherit autotools obmc-phosphor-utils pkgconfig
Andrew Geissler179b68f2018-11-20 03:20:12 +000011inherit systemd
Matt Spinler41d3c842017-03-10 15:08:56 -060012
Matt Spinler028c8ea2017-10-04 13:07:06 -050013SRC_URI += "git://github.com/openbmc/openpower-proc-control"
Andrew Geisslerc8e66052020-04-16 20:00:49 +000014SRCREV = "22de8ac1049d3e3fac3e52a6a88611adc8250666"
Matt Spinler1afe9162017-09-18 15:52:40 -050015
16DEPENDS += " \
17 autoconf-archive-native \
18 phosphor-logging \
19 phosphor-dbus-interfaces \
Andrew Geisslere1715752020-02-05 08:15:36 -060020 libgpiod \
Matt Spinler1afe9162017-09-18 15:52:40 -050021 "
Andrew Jeffery06513d62019-08-07 10:38:11 +093022
23# For libpdbg, provided by the pdbg package
24DEPENDS += "pdbg"
25
Andrew Geissler179b68f2018-11-20 03:20:12 +000026TEMPLATE = "pcie-poweroff@.service"
27INSTANCE_FORMAT = "pcie-poweroff@{}.service"
28INSTANCES = "${@compose_list(d, 'INSTANCE_FORMAT', 'OBMC_CHASSIS_INSTANCES')}"
29SYSTEMD_PACKAGES = "${PN}"
30SYSTEMD_SERVICE_${PN} = "${TEMPLATE} ${INSTANCES}"
Lakshminarayana R. Kammathe9150102019-06-11 12:37:25 -050031
32SYSTEMD_SERVICE_${PN} += " \
33 xyz.openbmc_project.Control.Host.NMI.service \
Andrew Geissler84962a92020-02-17 15:11:03 -060034 op-stop-instructions@.service \
35 op-cfam-reset.service \
Eddie James85ffbd02020-02-11 13:51:26 -060036 ${@bb.utils.contains('OBMC_MACHINE_FEATURES', 'phal', 'set-spi-mux.service', '', d)} \
Dhruvaraj Subhashchandran7e0062d2020-03-09 13:04:32 -050037 op-continue-mpreboot@.service \
38 op-enter-mpreboot@.service \
Lakshminarayana R. Kammathe9150102019-06-11 12:37:25 -050039 "