blob: 9bb8f45970447f7feb90aa97abec89cdfc7043a1 [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"
Adriana Kobylaka6fc67f2017-01-30 20:30:00 -060029RDEPENDS_${PN} += "sdbusplus"
Patrick Williams267c0bb2017-01-19 21:20:46 -060030
Patrick Williamsd0486d82017-01-30 11:06:16 -060031RDEPENDS_${PN}-host += "libsystemd phosphor-dbus-interfaces"
32RDEPENDS_${PN}-chassis += "libsystemd phosphor-dbus-interfaces"
33RDEPENDS_${PN}-bmc += "libsystemd phosphor-dbus-interfaces"
Patrick Williams267c0bb2017-01-19 21:20:46 -060034
35PROVIDES += "virtual/obmc-host-state-mgmt"
36RPROVIDES_${PN}-host += "virtual-obmc-host-state-mgmt"
37FILES_${PN}-host = "${sbindir}/phosphor-host-state-manager"
38DBUS_SERVICE_${PN}-host += "xyz.openbmc_project.State.Host.service"
39
40PROVIDES += "virtual/obmc-chassis-state-mgmt"
41RPROVIDES_${PN}-chassis += "virtual-obmc-chassis-state-mgmt"
42FILES_${PN}-chassis = "${sbindir}/phosphor-chassis-state-manager"
43DBUS_SERVICE_${PN}-chassis += "xyz.openbmc_project.State.Chassis.service"
44
Josh Kinga9462882017-01-19 14:04:03 -060045PROVIDES += "virtual/obmc-bmc-state-mgmt"
46RPROVIDES_${PN}-bmc += "virtual-obmc-bmc-state-mgmt"
47FILES_${PN}-bmc = "${sbindir}/phosphor-bmc-state-manager"
48DBUS_SERVICE_${PN}-bmc += "xyz.openbmc_project.State.BMC.service"
49
Patrick Williams267c0bb2017-01-19 21:20:46 -060050SRC_URI += "git://github.com/openbmc/phosphor-state-manager"
Patrick Williams8452e1b2017-02-23 15:50:12 -060051SRCREV = "3362ea558c4fa39ecb0b50c4fe81224cf6a7b0bd"
Patrick Williams267c0bb2017-01-19 21:20:46 -060052
53S = "${WORKDIR}/git"