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 | |
Andrew Geissler | bbc6b9d | 2021-06-10 15:26:49 -0500 | [diff] [blame] | 10 | inherit meson 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 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 13 | SRC_URI += "git://github.com/openbmc/openpower-proc-control;branch=master;protocol=https" |
Ramesh Iyyar | d0aedb9 | 2022-02-24 03:35:40 -0600 | [diff] [blame^] | 14 | SRCREV = "482a887804fe61a1868000bd2d1b18cacff77533" |
Matt Spinler | 20c9cd0 | 2017-09-18 15:52:40 -0500 | [diff] [blame] | 15 | |
| 16 | DEPENDS += " \ |
Matt Spinler | 20c9cd0 | 2017-09-18 15:52:40 -0500 | [diff] [blame] | 17 | phosphor-logging \ |
| 18 | phosphor-dbus-interfaces \ |
Andrew Geissler | a77fbba | 2020-02-05 08:15:36 -0600 | [diff] [blame] | 19 | libgpiod \ |
Matt Spinler | 20c9cd0 | 2017-09-18 15:52:40 -0500 | [diff] [blame] | 20 | " |
Andrew Jeffery | 20973e0 | 2019-08-07 10:38:11 +0930 | [diff] [blame] | 21 | |
Andrew Geissler | bbc6b9d | 2021-06-10 15:26:49 -0500 | [diff] [blame] | 22 | EXTRA_OEMESON += "-Dtests=disabled" |
| 23 | |
Andrew Jeffery | 20973e0 | 2019-08-07 10:38:11 +0930 | [diff] [blame] | 24 | # For libpdbg, provided by the pdbg package |
| 25 | DEPENDS += "pdbg" |
| 26 | |
Andrew Geissler | 643013c | 2018-11-20 03:20:12 +0000 | [diff] [blame] | 27 | TEMPLATE = "pcie-poweroff@.service" |
| 28 | INSTANCE_FORMAT = "pcie-poweroff@{}.service" |
| 29 | INSTANCES = "${@compose_list(d, 'INSTANCE_FORMAT', 'OBMC_CHASSIS_INSTANCES')}" |
| 30 | SYSTEMD_PACKAGES = "${PN}" |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 31 | SYSTEMD_SERVICE:${PN} = "${TEMPLATE} ${INSTANCES}" |
Lakshminarayana R. Kammath | 4378a3f | 2019-06-11 12:37:25 -0500 | [diff] [blame] | 32 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 33 | SYSTEMD_SERVICE:${PN} += " \ |
Patrick Williams | 8c561ee | 2021-10-22 14:20:12 -0500 | [diff] [blame] | 34 | op-cfam-reset.service \ |
| 35 | op-continue-mpreboot@.service \ |
| 36 | op-enter-mpreboot@.service \ |
| 37 | op-stop-instructions@.service \ |
| 38 | xyz.openbmc_project.Control.Host.NMI.service \ |
| 39 | ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'op-reset-host-check@.service', '', d)} \ |
| 40 | ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'op-reset-host-clear.service', '', d)} \ |
| 41 | ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'phal-export-devtree@.service', '', d)} \ |
| 42 | ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'phal-import-devtree@.service', '', d)} \ |
| 43 | ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'phal-reinit-devtree.service', '', d)} \ |
| 44 | ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'proc-pre-poweroff@.service', '', d)} \ |
| 45 | ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'set-spi-mux.service', '', d)} \ |
Ramesh Iyyar | d0aedb9 | 2022-02-24 03:35:40 -0600 | [diff] [blame^] | 46 | ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'phal-create-boottime-guard-indicator.service', '', d)} \ |
Patrick Williams | 8c561ee | 2021-10-22 14:20:12 -0500 | [diff] [blame] | 47 | " |