Adriana Kobylak | adb57d9 | 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 | c7a8208 | 2018-10-17 07:42:11 -0700 | [diff] [blame] | 7 | PV = "1.0+git${SRCPV}" |
Adriana Kobylak | adb57d9 | 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 | 2c2604d | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 11 | inherit autotools pkgconfig systemd |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 12 | inherit obmc-phosphor-dbus-service |
| 13 | |
Adriana Kobylak | dc65d33 | 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 | 2c2604d | 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 | dc65d33 | 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 | 86c2824 | 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 | 2c2604d | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 33 | |
Adriana Kobylak | b3d2980 | 2018-05-07 13:28:09 -0500 | [diff] [blame] | 34 | PACKAGECONFIG[verify_pnor_signature] = "--enable-verify_pnor_signature,--disable-verify_pnor_signature" |
Lei YU | 2c2604d | 2019-03-11 17:32:32 +0800 | [diff] [blame] | 35 | PACKAGECONFIG[ubifs_layout] = "--enable-ubifs_layout,--disable-ubifs_layout,,mtd-utils-ubifs" |
Adriana Kobylak | dc65d33 | 2020-07-15 21:42:04 -0500 | [diff] [blame] | 36 | PACKAGECONFIG[mmc_layout] = "--enable-mmc_layout,--disable-mmc_layout" |
Adriana Kobylak | 86c2824 | 2019-10-25 15:24:38 -0500 | [diff] [blame] | 37 | PACKAGECONFIG[virtual_pnor] = "--enable-virtual_pnor,--disable-virtual_pnor" |
Adriana Kobylak | b3d2980 | 2018-05-07 13:28:09 -0500 | [diff] [blame] | 38 | |
Adriana Kobylak | 26e87c5 | 2018-10-10 14:29:15 -0500 | [diff] [blame] | 39 | EXTRA_OECONF += " \ |
| 40 | PNOR_MSL="v2.0.10 v2.2" \ |
| 41 | " |
| 42 | |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 43 | DEPENDS += " \ |
| 44 | autoconf-archive-native \ |
Patrick Williams | e8bacf5 | 2020-02-24 21:48:12 -0600 | [diff] [blame] | 45 | openssl \ |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 46 | phosphor-dbus-interfaces \ |
| 47 | phosphor-logging \ |
| 48 | sdbusplus \ |
| 49 | " |
| 50 | |
| 51 | RDEPENDS_${PN} += " \ |
Patrick Williams | bd3a4a6 | 2017-08-09 17:36:04 -0500 | [diff] [blame] | 52 | virtual-obmc-image-manager \ |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 53 | " |
| 54 | |
Adriana Kobylak | fc00de8 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 55 | S = "${WORKDIR}/git" |
| 56 | |
| 57 | SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt" |
| 58 | |
Andrew Geissler | 3eb53a5 | 2020-09-02 20:20:48 +0000 | [diff] [blame] | 59 | SRCREV = "f6608a826007e39f1ba1aa595833dc562b3f2799" |
Adriana Kobylak | fc00de8 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 60 | |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 61 | DBUS_SERVICE_${PN} += "org.open_power.Software.Host.Updater.service" |
Adriana Kobylak | fc00de8 | 2017-06-02 09:22:40 -0500 | [diff] [blame] | 62 | |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 63 | SYSTEMD_SERVICE_${PN} += " \ |
Adriana Kobylak | d288c93 | 2018-10-10 09:47:17 -0500 | [diff] [blame] | 64 | op-pnor-msl.service \ |
Adriana Kobylak | adb57d9 | 2017-04-28 16:05:39 -0500 | [diff] [blame] | 65 | " |