Matt Spinler | aca1b15 | 2017-03-10 15:08:56 -0600 | [diff] [blame] | 1 | SUMMARY = "OpenPower procedure control" |
| 2 | DESCRIPTION = "Provides procedures that run against the host chipset" |
| 3 | PR = "r1" |
Patrick Venture | 8eb2361 | 2018-10-02 19:14:43 -0700 | [diff] [blame] | 4 | PV = "1.0+git${SRCPV}" |
Matt Spinler | 37619cc | 2017-10-04 13:07:06 -0500 | [diff] [blame] | 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
| 7 | |
Matt Spinler | aca1b15 | 2017-03-10 15:08:56 -0600 | [diff] [blame] | 8 | S = "${WORKDIR}/git" |
| 9 | |
Matt Spinler | 8dfa78d | 2020-03-06 09:41:47 -0600 | [diff] [blame] | 10 | inherit autotools obmc-phosphor-utils pkgconfig |
Andrew Geissler | 643013c | 2018-11-20 03:20:12 +0000 | [diff] [blame] | 11 | inherit systemd |
Matt Spinler | aca1b15 | 2017-03-10 15:08:56 -0600 | [diff] [blame] | 12 | |
Matt Spinler | 37619cc | 2017-10-04 13:07:06 -0500 | [diff] [blame] | 13 | SRC_URI += "git://github.com/openbmc/openpower-proc-control" |
Andrew Geissler | a53ba0f | 2021-06-08 16:10:27 +0000 | [diff] [blame] | 14 | SRCREV = "e22e8231c49d3a7fa4ea24d57e48be072e1d7e16" |
Matt Spinler | 20c9cd0 | 2017-09-18 15:52:40 -0500 | [diff] [blame] | 15 | |
| 16 | DEPENDS += " \ |
| 17 | autoconf-archive-native \ |
| 18 | phosphor-logging \ |
| 19 | phosphor-dbus-interfaces \ |
Andrew Geissler | a77fbba | 2020-02-05 08:15:36 -0600 | [diff] [blame] | 20 | libgpiod \ |
Matt Spinler | 20c9cd0 | 2017-09-18 15:52:40 -0500 | [diff] [blame] | 21 | " |
Andrew Jeffery | 20973e0 | 2019-08-07 10:38:11 +0930 | [diff] [blame] | 22 | |
| 23 | # For libpdbg, provided by the pdbg package |
| 24 | DEPENDS += "pdbg" |
| 25 | |
Andrew Geissler | 643013c | 2018-11-20 03:20:12 +0000 | [diff] [blame] | 26 | TEMPLATE = "pcie-poweroff@.service" |
| 27 | INSTANCE_FORMAT = "pcie-poweroff@{}.service" |
| 28 | INSTANCES = "${@compose_list(d, 'INSTANCE_FORMAT', 'OBMC_CHASSIS_INSTANCES')}" |
| 29 | SYSTEMD_PACKAGES = "${PN}" |
| 30 | SYSTEMD_SERVICE_${PN} = "${TEMPLATE} ${INSTANCES}" |
Lakshminarayana R. Kammath | 4378a3f | 2019-06-11 12:37:25 -0500 | [diff] [blame] | 31 | |
| 32 | SYSTEMD_SERVICE_${PN} += " \ |
| 33 | xyz.openbmc_project.Control.Host.NMI.service \ |
Andrew Geissler | 82cfa66 | 2020-02-17 15:11:03 -0600 | [diff] [blame] | 34 | op-stop-instructions@.service \ |
| 35 | op-cfam-reset.service \ |
Eddie James | 4fcacea | 2020-02-11 13:51:26 -0600 | [diff] [blame] | 36 | ${@bb.utils.contains('OBMC_MACHINE_FEATURES', 'phal', 'set-spi-mux.service', '', d)} \ |
Dhruvaraj Subhashchandran | c8aa6a1 | 2020-03-09 13:04:32 -0500 | [diff] [blame] | 37 | op-continue-mpreboot@.service \ |
| 38 | op-enter-mpreboot@.service \ |
Ramesh Iyyar | d6d9b54 | 2020-09-17 10:02:08 -0500 | [diff] [blame] | 39 | ${@bb.utils.contains('OBMC_MACHINE_FEATURES', 'phal', 'phal-reinit-devtree.service', '', d)} \ |
Chirag Sharma | 5ec16a3 | 2020-12-11 03:45:15 -0600 | [diff] [blame] | 40 | ${@bb.utils.contains('OBMC_MACHINE_FEATURES', 'phal', 'proc-pre-poweroff@.service', '', d)} \ |
Lakshminarayana R. Kammath | 4378a3f | 2019-06-11 12:37:25 -0500 | [diff] [blame] | 41 | " |