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 | |
Brad Bishop | d928e59 | 2020-11-15 13:49:49 -0500 | [diff] [blame^] | 34 | PACKAGECONFIG[verify_pnor_signature] = "-Dverify-signature=enabled, -Dverify-signature=disabled" |
| 35 | PACKAGECONFIG[ubifs_layout] = "-Ddevice-type=ubi,,,mtd-utils-ubifs" |
| 36 | PACKAGECONFIG[mmc_layout] = "-Ddevice-type=mmc" |
| 37 | PACKAGECONFIG[virtual_pnor] = "-Dvpnor=enabled, -Dvpnor=disabled" |
Adriana Kobylak | d7c9505 | 2018-05-07 13:28:09 -0500 | [diff] [blame] | 38 | |
Brad Bishop | d928e59 | 2020-11-15 13:49:49 -0500 | [diff] [blame^] | 39 | EXTRA_OEMESON += " \ |
| 40 | -Dmsl="v2.0.10 v2.2" \ |
Adriana Kobylak | 4315c91 | 2018-10-10 14:29:15 -0500 | [diff] [blame] | 41 | " |
| 42 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 43 | DEPENDS += " \ |
Patrick Williams | 5ec7af7 | 2020-02-24 21:48:12 -0600 | [diff] [blame] | 44 | openssl \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 45 | phosphor-dbus-interfaces \ |
| 46 | phosphor-logging \ |
| 47 | sdbusplus \ |
| 48 | " |
| 49 | |
| 50 | RDEPENDS_${PN} += " \ |
Patrick Williams | 21d6569 | 2017-08-09 17:36:04 -0500 | [diff] [blame] | 51 | virtual-obmc-image-manager \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 52 | " |
| 53 | |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 54 | S = "${WORKDIR}/git" |
| 55 | |
| 56 | SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt" |
| 57 | |
Andrew Geissler | 435392e | 2020-11-16 21:41:59 +0000 | [diff] [blame] | 58 | SRCREV = "7c053c3f496c73b73e7677713f3e22fb1d3e56ab" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 59 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 60 | DBUS_SERVICE_${PN} += "org.open_power.Software.Host.Updater.service" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 61 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 62 | SYSTEMD_SERVICE_${PN} += " \ |
Adriana Kobylak | 32803f8 | 2018-10-10 09:47:17 -0500 | [diff] [blame] | 63 | op-pnor-msl.service \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 64 | " |