blob: a45e47a3d85c6f0047f68ce938c843867517f637 [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}"
Brad Bishopc3f10572017-03-01 16:08:45 -050016PACKAGES_remove = "${PN}"
17RDEPENDS_${PN}-dev = "${STATE_MGR_PACKAGES}"
18RDEPENDS_${PN}-staticdev = "${STATE_MGR_PACKAGES}"
19
Patrick Williams267c0bb2017-01-19 21:20:46 -060020DBUS_PACKAGES = "${STATE_MGR_PACKAGES}"
21
22# Set SYSTEMD_PACKAGES to empty because we do not want ${PN} and DBUS_PACKAGES
23# handles the rest.
24SYSTEMD_PACKAGES = ""
25
26inherit autotools pkgconfig
27inherit obmc-phosphor-dbus-service
28
29DEPENDS += "autoconf-archive-native"
30DEPENDS += "sdbusplus"
31DEPENDS += "phosphor-logging"
Patrick Williamsd0486d82017-01-30 11:06:16 -060032DEPENDS += "phosphor-dbus-interfaces"
Adriana Kobylaka6fc67f2017-01-30 20:30:00 -060033RDEPENDS_${PN} += "sdbusplus"
Patrick Williams267c0bb2017-01-19 21:20:46 -060034
Patrick Williamsd0486d82017-01-30 11:06:16 -060035RDEPENDS_${PN}-host += "libsystemd phosphor-dbus-interfaces"
36RDEPENDS_${PN}-chassis += "libsystemd phosphor-dbus-interfaces"
37RDEPENDS_${PN}-bmc += "libsystemd phosphor-dbus-interfaces"
Patrick Williams267c0bb2017-01-19 21:20:46 -060038
Patrick Williams267c0bb2017-01-19 21:20:46 -060039FILES_${PN}-host = "${sbindir}/phosphor-host-state-manager"
40DBUS_SERVICE_${PN}-host += "xyz.openbmc_project.State.Host.service"
41
Patrick Williams267c0bb2017-01-19 21:20:46 -060042FILES_${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 -060045FILES_${PN}-bmc = "${sbindir}/phosphor-bmc-state-manager"
46DBUS_SERVICE_${PN}-bmc += "xyz.openbmc_project.State.BMC.service"
47
Patrick Williams267c0bb2017-01-19 21:20:46 -060048SRC_URI += "git://github.com/openbmc/phosphor-state-manager"
Patrick Williamse1117822017-03-02 13:20:03 -060049SRCREV = "2b5d887852c228ceb3cf2a89521498b596954ff9"
Patrick Williams267c0bb2017-01-19 21:20:46 -060050
51S = "${WORKDIR}/git"