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 | |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 11 | inherit autotools pkgconfig systemd |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 12 | inherit obmc-phosphor-dbus-service |
| 13 | |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 14 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-ubi-fs', \ |
| 15 | 'openpower-software-manager-ubi', \ |
| 16 | 'openpower-software-manager-static', d)} |
Adriana Kobylak | 8b805bd | 2019-10-25 15:24:38 -0500 | [diff] [blame] | 17 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-virtual-pnor', \ |
| 18 | 'openpower-software-manager-virtual-pnor', \ |
| 19 | '', d)} |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 20 | |
Adriana Kobylak | d7c9505 | 2018-05-07 13:28:09 -0500 | [diff] [blame] | 21 | PACKAGECONFIG[verify_pnor_signature] = "--enable-verify_pnor_signature,--disable-verify_pnor_signature" |
Lei YU | 3ba9755 | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 22 | PACKAGECONFIG[ubifs_layout] = "--enable-ubifs_layout,--disable-ubifs_layout,,mtd-utils-ubifs" |
Adriana Kobylak | 8b805bd | 2019-10-25 15:24:38 -0500 | [diff] [blame] | 23 | PACKAGECONFIG[virtual_pnor] = "--enable-virtual_pnor,--disable-virtual_pnor" |
Adriana Kobylak | d7c9505 | 2018-05-07 13:28:09 -0500 | [diff] [blame] | 24 | |
Adriana Kobylak | 4315c91 | 2018-10-10 14:29:15 -0500 | [diff] [blame] | 25 | EXTRA_OECONF += " \ |
| 26 | PNOR_MSL="v2.0.10 v2.2" \ |
| 27 | " |
| 28 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 29 | DEPENDS += " \ |
| 30 | autoconf-archive-native \ |
Patrick Williams | 5ec7af7 | 2020-02-24 21:48:12 -0600 | [diff] [blame] | 31 | openssl \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 32 | phosphor-dbus-interfaces \ |
| 33 | phosphor-logging \ |
| 34 | sdbusplus \ |
| 35 | " |
| 36 | |
| 37 | RDEPENDS_${PN} += " \ |
Patrick Williams | 21d6569 | 2017-08-09 17:36:04 -0500 | [diff] [blame] | 38 | virtual-obmc-image-manager \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 39 | " |
| 40 | |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 41 | S = "${WORKDIR}/git" |
| 42 | |
| 43 | SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt" |
| 44 | |
Andrew Geissler | 8b305f9 | 2020-06-08 18:10:47 +0000 | [diff] [blame] | 45 | SRCREV = "573552ae8e3dae3967032def9e1653dfc88676ad" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 46 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 47 | DBUS_SERVICE_${PN} += "org.open_power.Software.Host.Updater.service" |
Adriana Kobylak | 2e95082 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 48 | |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 49 | SYSTEMD_SERVICE_${PN} += " \ |
Adriana Kobylak | 32803f8 | 2018-10-10 09:47:17 -0500 | [diff] [blame] | 50 | op-pnor-msl.service \ |
Adriana Kobylak | f20b3aa | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 51 | " |