blob: 05315bdd313c9b93c6a557193686aba8fd9aa0e9 [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
13
Adriana Kobylakdc65d332020-07-15 21:42:04 -050014# Static configuration. This is the default if no other layout is specified.
15inherit ${@bb.utils.contains_any('DISTRO_FEATURES', \
16 'openpower-ubi-fs phosphor-mmc', \
17 '', \
18 'openpower-software-manager-static', d)}
19
20# UBI layout
Lei YU2c2604d2019-03-11 17:32:32 +080021inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-ubi-fs', \
22 'openpower-software-manager-ubi', \
Adriana Kobylakdc65d332020-07-15 21:42:04 -050023 '', d)}
24# eMMC layout
25inherit ${@bb.utils.contains('DISTRO_FEATURES', 'phosphor-mmc', \
26 'openpower-software-manager-mmc', \
27 '', d)}
28
29# Virtual PNOR
Adriana Kobylak86c28242019-10-25 15:24:38 -050030inherit ${@bb.utils.contains('DISTRO_FEATURES', 'openpower-virtual-pnor', \
31 'openpower-software-manager-virtual-pnor', \
32 '', d)}
Lei YU2c2604d2019-03-11 17:32:32 +080033
Adriana Kobylakb3d29802018-05-07 13:28:09 -050034PACKAGECONFIG[verify_pnor_signature] = "--enable-verify_pnor_signature,--disable-verify_pnor_signature"
Lei YU2c2604d2019-03-11 17:32:32 +080035PACKAGECONFIG[ubifs_layout] = "--enable-ubifs_layout,--disable-ubifs_layout,,mtd-utils-ubifs"
Adriana Kobylakdc65d332020-07-15 21:42:04 -050036PACKAGECONFIG[mmc_layout] = "--enable-mmc_layout,--disable-mmc_layout"
Adriana Kobylak86c28242019-10-25 15:24:38 -050037PACKAGECONFIG[virtual_pnor] = "--enable-virtual_pnor,--disable-virtual_pnor"
Adriana Kobylakb3d29802018-05-07 13:28:09 -050038
Adriana Kobylak26e87c52018-10-10 14:29:15 -050039EXTRA_OECONF += " \
40 PNOR_MSL="v2.0.10 v2.2" \
41 "
42
Adriana Kobylakadb57d92017-04-28 16:05:39 -050043DEPENDS += " \
44 autoconf-archive-native \
Patrick Williamse8bacf52020-02-24 21:48:12 -060045 openssl \
Adriana Kobylakadb57d92017-04-28 16:05:39 -050046 phosphor-dbus-interfaces \
47 phosphor-logging \
48 sdbusplus \
49 "
50
51RDEPENDS_${PN} += " \
Patrick Williamsbd3a4a62017-08-09 17:36:04 -050052 virtual-obmc-image-manager \
Adriana Kobylakadb57d92017-04-28 16:05:39 -050053 "
54
Adriana Kobylakfc00de82017-06-02 09:22:40 -050055S = "${WORKDIR}/git"
56
57SRC_URI += "git://github.com/openbmc/openpower-pnor-code-mgmt"
58
Andrew Geissler3eb53a52020-09-02 20:20:48 +000059SRCREV = "f6608a826007e39f1ba1aa595833dc562b3f2799"
Adriana Kobylakfc00de82017-06-02 09:22:40 -050060
Adriana Kobylakadb57d92017-04-28 16:05:39 -050061DBUS_SERVICE_${PN} += "org.open_power.Software.Host.Updater.service"
Adriana Kobylakfc00de82017-06-02 09:22:40 -050062
Adriana Kobylakadb57d92017-04-28 16:05:39 -050063SYSTEMD_SERVICE_${PN} += " \
Adriana Kobylakd288c932018-10-10 09:47:17 -050064 op-pnor-msl.service \
Adriana Kobylakadb57d92017-04-28 16:05:39 -050065 "