blob: 0474dfe07699cab2b2e3f08b98eb43a704a7ee4d [file] [log] [blame]
Patrick Williams267c0bb2017-01-19 21:20:46 -06001SUMMARY = "Phosphor State Management"
2DESCRIPTION = "Phosphor State Manager provides a set of system state \
3management daemons. It is suitable for use on a wide variety of OpenBMC \
4platforms."
5HOMEPAGE = "https://github.com/openbmc/phosphor-state-manager"
6PR = "r1"
7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
9
10STATE_MGR_PACKAGES = " \
11 ${PN}-host \
12 ${PN}-chassis \
Josh Kinga9462882017-01-19 14:04:03 -060013 ${PN}-bmc \
Patrick Williams267c0bb2017-01-19 21:20:46 -060014"
15PACKAGES =+ "${STATE_MGR_PACKAGES}"
16DBUS_PACKAGES = "${STATE_MGR_PACKAGES}"
17
18# Set SYSTEMD_PACKAGES to empty because we do not want ${PN} and DBUS_PACKAGES
19# handles the rest.
20SYSTEMD_PACKAGES = ""
21
22inherit autotools pkgconfig
23inherit obmc-phosphor-dbus-service
24
25DEPENDS += "autoconf-archive-native"
26DEPENDS += "sdbusplus"
27DEPENDS += "phosphor-logging"
Patrick Williamsd0486d82017-01-30 11:06:16 -060028DEPENDS += "phosphor-dbus-interfaces"
Patrick Williams267c0bb2017-01-19 21:20:46 -060029
Patrick Williamsd0486d82017-01-30 11:06:16 -060030RDEPENDS_${PN}-host += "libsystemd phosphor-dbus-interfaces"
31RDEPENDS_${PN}-chassis += "libsystemd phosphor-dbus-interfaces"
32RDEPENDS_${PN}-bmc += "libsystemd phosphor-dbus-interfaces"
Patrick Williams267c0bb2017-01-19 21:20:46 -060033
34PROVIDES += "virtual/obmc-host-state-mgmt"
35RPROVIDES_${PN}-host += "virtual-obmc-host-state-mgmt"
36FILES_${PN}-host = "${sbindir}/phosphor-host-state-manager"
37DBUS_SERVICE_${PN}-host += "xyz.openbmc_project.State.Host.service"
38
39PROVIDES += "virtual/obmc-chassis-state-mgmt"
40RPROVIDES_${PN}-chassis += "virtual-obmc-chassis-state-mgmt"
41FILES_${PN}-chassis = "${sbindir}/phosphor-chassis-state-manager"
42DBUS_SERVICE_${PN}-chassis += "xyz.openbmc_project.State.Chassis.service"
43
Josh Kinga9462882017-01-19 14:04:03 -060044PROVIDES += "virtual/obmc-bmc-state-mgmt"
45RPROVIDES_${PN}-bmc += "virtual-obmc-bmc-state-mgmt"
46FILES_${PN}-bmc = "${sbindir}/phosphor-bmc-state-manager"
47DBUS_SERVICE_${PN}-bmc += "xyz.openbmc_project.State.BMC.service"
48
Patrick Williams267c0bb2017-01-19 21:20:46 -060049SRC_URI += "git://github.com/openbmc/phosphor-state-manager"
Patrick Williams6aa5e5f2017-01-31 10:30:03 -060050SRCREV = "515f74bc03b0e8242c939da79b6718a253256abe"
Patrick Williams267c0bb2017-01-19 21:20:46 -060051
52S = "${WORKDIR}/git"