Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 1 | SUMMARY = "OpenPower Software Management" |
| 2 | DESCRIPTION = "OpenPower Software Manager provides a set of host software \ |
| 3 | management daemons. It is suitable for use on a wide variety of OpenPower \ |
| 4 | platforms." |
| 5 | HOMEPAGE = "https://github.com/openbmc/openpower-pnor-code-mgmt" |
| 6 | PR = "r1" |
Patrick Venture | 191bfab | 2018-10-17 07:42:11 -0700 | [diff] [blame] | 7 | PV = "1.0+git${SRCPV}" |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 8 | LICENSE = "Apache-2.0" |
| 9 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
| 10 | |
Brad Bishop | d928e59 | 2020-11-15 13:49:49 -0500 | [diff] [blame] | 11 | inherit meson pkgconfig systemd |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 12 | inherit obmc-phosphor-dbus-service |
| 13 | |
Adriana Kobylak | b0e8522 | 2020-07-15 21:42:04 -0500 | [diff] [blame] | 14 | # Static configuration. This is the default if no other layout is specified. |
| 15 | inherit ${@bb.utils.contains_any('DISTRO_FEATURES', \ |
| 16 | 'openpower-ubi-fs phosphor-mmc', \ |
| 17 | '', \ |
| 18 | 'openpower-software-manager-static', d)} |
| 19 | |
| 20 | # UBI layout |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 21 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-ubi-fs', \ |
| 22 | 'openpower-software-manager-ubi', \ |
Adriana Kobylak | b0e8522 | 2020-07-15 21:42:04 -0500 | [diff] [blame] | 23 | '', d)} |
| 24 | # eMMC layout |
| 25 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'phosphor-mmc', \ |
| 26 | 'openpower-software-manager-mmc', \ |
| 27 | '', d)} |
| 28 | |
| 29 | # Virtual PNOR |
Adriana Kobylak | 8b805bd | 2019-10-25 15:24:38 -0500 | [diff] [blame] | 30 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-virtual-pnor', \ |
| 31 | 'openpower-software-manager-virtual-pnor', \ |
| 32 | '', d)} |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 33 | |
Andrew Geissler | 6d8b8fe | 2021-10-19 15:40:27 +0000 | [diff] [blame] | 34 | # PLDM Support |
| 35 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-hostfw-over-pldm', \ |
| 36 | 'openpower-software-manager-pldm', \ |
| 37 | '', d)} |
| 38 | |
Brad Bishop | d928e59 | 2020-11-15 13:49:49 -0500 | [diff] [blame] | 39 | PACKAGECONFIG[verify_pnor_signature] = "-Dverify-signature=enabled, -Dverify-signature=disabled" |
| 40 | PACKAGECONFIG[ubifs_layout] = "-Ddevice-type=ubi,,,mtd-utils-ubifs" |
| 41 | PACKAGECONFIG[mmc_layout] = "-Ddevice-type=mmc" |
George Liu | 22e52b4 | 2021-10-07 14:24:19 +0800 | [diff] [blame] | 42 | PACKAGECONFIG[virtual_pnor] = "-Dvpnor=enabled, -Dvpnor=disabled,,bash" |
Andrew Geissler | 6d8b8fe | 2021-10-19 15:40:27 +0000 | [diff] [blame] | 43 | PACKAGECONFIG[pldm] = "-Dpldm=enabled, -Dpldm=disabled" |
Adriana Kobylak | d7c9505 | 2018-05-07 13:28:09 -0500 | [diff] [blame] | 44 | |
Brad Bishop | d928e59 | 2020-11-15 13:49:49 -0500 | [diff] [blame] | 45 | EXTRA_OEMESON += " \ |
William A. Kennington III | fe61aa3 | 2021-05-29 23:50:53 -0700 | [diff] [blame] | 46 | -Dtests=disabled \ |
Brad Bishop | d928e59 | 2020-11-15 13:49:49 -0500 | [diff] [blame] | 47 | -Dmsl="v2.0.10 v2.2" \ |
Adriana Kobylak | 4315c91 | 2018-10-10 14:29:15 -0500 | [diff] [blame] | 48 | " |
| 49 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 50 | DEPENDS += " \ |
Andrew Geissler | 334fec9 | 2020-12-01 18:51:54 +0000 | [diff] [blame] | 51 | cli11 \ |
Andrew Geissler | d564f2c | 2020-12-09 19:52:17 +0000 | [diff] [blame] | 52 | dbus \ |
Andrew Geissler | a45b753 | 2021-07-30 19:10:22 +0000 | [diff] [blame] | 53 | nlohmann-json \ |
Patrick Williams | 5ec7af7 | 2020-02-24 21:48:12 -0600 | [diff] [blame] | 54 | openssl \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 55 | phosphor-dbus-interfaces \ |
| 56 | phosphor-logging \ |
| 57 | sdbusplus \ |
| 58 | " |
| 59 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 60 | RDEPENDS:${PN} += " \ |
Patrick Williams | 21d6569 | 2017-08-09 17:36:04 -0500 | [diff] [blame] | 61 | virtual-obmc-image-manager \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 62 | " |
| 63 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 64 | FILES:${PN} += "${datadir}/dbus-1/system.d/org.open_power.Software.Host.Updater.conf" |
Andrew Geissler | d564f2c | 2020-12-09 19:52:17 +0000 | [diff] [blame] | 65 | |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 66 | S = "${WORKDIR}/git" |
| 67 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 68 | SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt;branch=master;protocol=https" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 69 | |
Andrew Geissler | abf930d | 2022-09-28 11:30:56 -0500 | [diff] [blame] | 70 | SRCREV = "75352b4216f20397a4d5b2ae6de95978946b5775" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 71 | |
Patrick Williams | 57b7624 | 2021-08-11 15:27:06 -0500 | [diff] [blame] | 72 | DBUS_SERVICE:${PN} += "org.open_power.Software.Host.Updater.service" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 73 | |
Adriana Kobylak | 8c6707f | 2021-08-06 17:35:36 +0000 | [diff] [blame] | 74 | SYSTEMD_SERVICE:${PN} += " \ |
Adriana Kobylak | 32803f8 | 2018-10-10 09:47:17 -0500 | [diff] [blame] | 75 | op-pnor-msl.service \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 76 | " |