blob: 3be73be7e9a0e19aa08eca478c87da28177bdd4c [file] [log] [blame]
Adriana Kobylakf20b3aa2017-04-28 16:05:39 -05001SUMMARY = "OpenPower Software Management"
2DESCRIPTION = "OpenPower Software Manager provides a set of host software \
3management daemons. It is suitable for use on a wide variety of OpenPower \
4platforms."
5HOMEPAGE = "https://github.com/openbmc/openpower-pnor-code-mgmt"
6PR = "r1"
Patrick Venture191bfab2018-10-17 07:42:11 -07007PV = "1.0+git${SRCPV}"
Adriana Kobylakf20b3aa2017-04-28 16:05:39 -05008LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
10
Lei YU3ba97552019-03-11 17:32:32 +080011inherit autotools pkgconfig systemd
Adriana Kobylakf20b3aa2017-04-28 16:05:39 -050012inherit obmc-phosphor-dbus-service
Patrick Williams6d7f40b2017-08-28 12:00:05 -050013inherit pythonnative
Adriana Kobylakf20b3aa2017-04-28 16:05:39 -050014
Lei YU3ba97552019-03-11 17:32:32 +080015inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-ubi-fs', \
16 'openpower-software-manager-ubi', \
17 'openpower-software-manager-static', d)}
Adriana Kobylak8b805bd2019-10-25 15:24:38 -050018inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-virtual-pnor', \
19 'openpower-software-manager-virtual-pnor', \
20 '', d)}
Lei YU3ba97552019-03-11 17:32:32 +080021
Adriana Kobylakd7c95052018-05-07 13:28:09 -050022PACKAGECONFIG[verify_pnor_signature] = "--enable-verify_pnor_signature,--disable-verify_pnor_signature"
Lei YU3ba97552019-03-11 17:32:32 +080023PACKAGECONFIG[ubifs_layout] = "--enable-ubifs_layout,--disable-ubifs_layout,,mtd-utils-ubifs"
Adriana Kobylak8b805bd2019-10-25 15:24:38 -050024PACKAGECONFIG[virtual_pnor] = "--enable-virtual_pnor,--disable-virtual_pnor"
Adriana Kobylakd7c95052018-05-07 13:28:09 -050025
Adriana Kobylak4315c912018-10-10 14:29:15 -050026EXTRA_OECONF += " \
27 PNOR_MSL="v2.0.10 v2.2" \
28 "
29
Adriana Kobylakf20b3aa2017-04-28 16:05:39 -050030DEPENDS += " \
31 autoconf-archive-native \
32 phosphor-dbus-interfaces \
33 phosphor-logging \
34 sdbusplus \
Patrick Williams6d7f40b2017-08-28 12:00:05 -050035 sdbusplus-native \
Adriana Kobylakf20b3aa2017-04-28 16:05:39 -050036 "
37
38RDEPENDS_${PN} += " \
Patrick Williams21d65692017-08-09 17:36:04 -050039 virtual-obmc-image-manager \
Adriana Kobylakf20b3aa2017-04-28 16:05:39 -050040 "
41
Adriana Kobylak2e950822017-06-02 09:22:40 -050042S = "${WORKDIR}/git"
43
44SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt"
45
Andrew Geissler7a15a5a2020-02-07 03:10:40 +000046SRCREV = "647d6134d448178e6b32892322596a5cc3d78b2d"
Adriana Kobylak2e950822017-06-02 09:22:40 -050047
Adriana Kobylakf20b3aa2017-04-28 16:05:39 -050048DBUS_SERVICE_${PN} += "org.open_power.Software.Host.Updater.service"
Adriana Kobylak2e950822017-06-02 09:22:40 -050049
Adriana Kobylakf20b3aa2017-04-28 16:05:39 -050050SYSTEMD_SERVICE_${PN} += " \
Adriana Kobylak32803f82018-10-10 09:47:17 -050051 op-pnor-msl.service \
Adriana Kobylakf20b3aa2017-04-28 16:05:39 -050052 "