blob: 20f67b1b57cc2c2d87d46af945c78482bb3338b1 [file] [log] [blame]
Matt Spinleraca1b152017-03-10 15:08:56 -06001SUMMARY = "OpenPower procedure control"
2DESCRIPTION = "Provides procedures that run against the host chipset"
3PR = "r1"
Patrick Venture8eb23612018-10-02 19:14:43 -07004PV = "1.0+git${SRCPV}"
Matt Spinler37619cc2017-10-04 13:07:06 -05005LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
7
Matt Spinleraca1b152017-03-10 15:08:56 -06008S = "${WORKDIR}/git"
9
Andrew Geissler643013c2018-11-20 03:20:12 +000010inherit autotools obmc-phosphor-utils pkgconfig pythonnative
11inherit systemd
Matt Spinleraca1b152017-03-10 15:08:56 -060012
Matt Spinler37619cc2017-10-04 13:07:06 -050013SRC_URI += "git://github.com/openbmc/openpower-proc-control"
Andrew Geissler1728bf02020-02-04 20:20:42 +000014SRCREV = "ce042fe87db46d58ab5b73d5ce3ccd126bdc60c7"
Matt Spinler20c9cd02017-09-18 15:52:40 -050015
16DEPENDS += " \
17 autoconf-archive-native \
18 phosphor-logging \
19 phosphor-dbus-interfaces \
20 openpower-dbus-interfaces \
Andrew Geisslera77fbba2020-02-05 08:15:36 -060021 libgpiod \
Matt Spinler20c9cd02017-09-18 15:52:40 -050022 "
Andrew Jeffery20973e02019-08-07 10:38:11 +093023
24# For libpdbg, provided by the pdbg package
25DEPENDS += "pdbg"
26
Andrew Geissler643013c2018-11-20 03:20:12 +000027TEMPLATE = "pcie-poweroff@.service"
28INSTANCE_FORMAT = "pcie-poweroff@{}.service"
29INSTANCES = "${@compose_list(d, 'INSTANCE_FORMAT', 'OBMC_CHASSIS_INSTANCES')}"
30SYSTEMD_PACKAGES = "${PN}"
31SYSTEMD_SERVICE_${PN} = "${TEMPLATE} ${INSTANCES}"
Lakshminarayana R. Kammath4378a3f2019-06-11 12:37:25 -050032
33SYSTEMD_SERVICE_${PN} += " \
34 xyz.openbmc_project.Control.Host.NMI.service \
Lakshminarayana R. Kammath4378a3f2019-06-11 12:37:25 -050035 "