blob: 23832959e6c347ad12bab69d58a7a037b562f2b0 [file] [log] [blame]
Adriana Kobylakadb57d92017-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 Venturec7a82082018-10-17 07:42:11 -07007PV = "1.0+git${SRCPV}"
Adriana Kobylakadb57d92017-04-28 16:05:39 -05008LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
10
Lei YU2c2604d2019-03-11 17:32:32 +080011inherit autotools pkgconfig systemd
Adriana Kobylakadb57d92017-04-28 16:05:39 -050012inherit obmc-phosphor-dbus-service
Adriana Kobylak476b9ea2020-03-30 16:05:50 -050013inherit python3native
Adriana Kobylakadb57d92017-04-28 16:05:39 -050014
Lei YU2c2604d2019-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 Kobylak86c28242019-10-25 15:24:38 -050018inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-virtual-pnor', \
19 'openpower-software-manager-virtual-pnor', \
20 '', d)}
Lei YU2c2604d2019-03-11 17:32:32 +080021
Adriana Kobylakb3d29802018-05-07 13:28:09 -050022PACKAGECONFIG[verify_pnor_signature] = "--enable-verify_pnor_signature,--disable-verify_pnor_signature"
Lei YU2c2604d2019-03-11 17:32:32 +080023PACKAGECONFIG[ubifs_layout] = "--enable-ubifs_layout,--disable-ubifs_layout,,mtd-utils-ubifs"
Adriana Kobylak86c28242019-10-25 15:24:38 -050024PACKAGECONFIG[virtual_pnor] = "--enable-virtual_pnor,--disable-virtual_pnor"
Adriana Kobylakb3d29802018-05-07 13:28:09 -050025
Adriana Kobylak26e87c52018-10-10 14:29:15 -050026EXTRA_OECONF += " \
27 PNOR_MSL="v2.0.10 v2.2" \
28 "
29
Adriana Kobylakadb57d92017-04-28 16:05:39 -050030DEPENDS += " \
31 autoconf-archive-native \
Patrick Williamse8bacf52020-02-24 21:48:12 -060032 openssl \
Adriana Kobylakadb57d92017-04-28 16:05:39 -050033 phosphor-dbus-interfaces \
34 phosphor-logging \
35 sdbusplus \
Patrick Williamsc8e515c2017-08-28 12:00:05 -050036 sdbusplus-native \
Adriana Kobylakadb57d92017-04-28 16:05:39 -050037 "
38
39RDEPENDS_${PN} += " \
Patrick Williamsbd3a4a62017-08-09 17:36:04 -050040 virtual-obmc-image-manager \
Adriana Kobylakadb57d92017-04-28 16:05:39 -050041 "
42
Adriana Kobylakfc00de82017-06-02 09:22:40 -050043S = "${WORKDIR}/git"
44
45SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt"
46
Andrew Geissler6fe3f8d2020-03-10 06:20:44 +000047SRCREV = "7f1967d56b89ffae5ea8e3313c000beb79cb63cd"
Adriana Kobylakfc00de82017-06-02 09:22:40 -050048
Adriana Kobylakadb57d92017-04-28 16:05:39 -050049DBUS_SERVICE_${PN} += "org.open_power.Software.Host.Updater.service"
Adriana Kobylakfc00de82017-06-02 09:22:40 -050050
Adriana Kobylakadb57d92017-04-28 16:05:39 -050051SYSTEMD_SERVICE_${PN} += " \
Adriana Kobylakd288c932018-10-10 09:47:17 -050052 op-pnor-msl.service \
Adriana Kobylakadb57d92017-04-28 16:05:39 -050053 "