blob: 5258486b955c384b7bff3d34307ab624b1e234b9 [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 \
Michael Tritz7199d262017-04-18 17:01:12 -050014 ${PN}-discover \
Patrick Williams267c0bb2017-01-19 21:20:46 -060015"
16PACKAGES =+ "${STATE_MGR_PACKAGES}"
Brad Bishopc3f10572017-03-01 16:08:45 -050017PACKAGES_remove = "${PN}"
18RDEPENDS_${PN}-dev = "${STATE_MGR_PACKAGES}"
19RDEPENDS_${PN}-staticdev = "${STATE_MGR_PACKAGES}"
20
Patrick Williams267c0bb2017-01-19 21:20:46 -060021DBUS_PACKAGES = "${STATE_MGR_PACKAGES}"
22
23# Set SYSTEMD_PACKAGES to empty because we do not want ${PN} and DBUS_PACKAGES
24# handles the rest.
25SYSTEMD_PACKAGES = ""
26
27inherit autotools pkgconfig
28inherit obmc-phosphor-dbus-service
29
30DEPENDS += "autoconf-archive-native"
31DEPENDS += "sdbusplus"
32DEPENDS += "phosphor-logging"
Patrick Williamsd0486d82017-01-30 11:06:16 -060033DEPENDS += "phosphor-dbus-interfaces"
Adriana Kobylaka6fc67f2017-01-30 20:30:00 -060034RDEPENDS_${PN} += "sdbusplus"
Patrick Williams267c0bb2017-01-19 21:20:46 -060035
Patrick Williamsd0486d82017-01-30 11:06:16 -060036RDEPENDS_${PN}-host += "libsystemd phosphor-dbus-interfaces"
37RDEPENDS_${PN}-chassis += "libsystemd phosphor-dbus-interfaces"
38RDEPENDS_${PN}-bmc += "libsystemd phosphor-dbus-interfaces"
Michael Tritz7199d262017-04-18 17:01:12 -050039RDEPENDS_${PN}-discover += "libsystemd phosphor-dbus-interfaces"
Patrick Williams267c0bb2017-01-19 21:20:46 -060040
Patrick Williams267c0bb2017-01-19 21:20:46 -060041FILES_${PN}-host = "${sbindir}/phosphor-host-state-manager"
42DBUS_SERVICE_${PN}-host += "xyz.openbmc_project.State.Host.service"
43
Patrick Williams267c0bb2017-01-19 21:20:46 -060044FILES_${PN}-chassis = "${sbindir}/phosphor-chassis-state-manager"
45DBUS_SERVICE_${PN}-chassis += "xyz.openbmc_project.State.Chassis.service"
46
Josh Kinga9462882017-01-19 14:04:03 -060047FILES_${PN}-bmc = "${sbindir}/phosphor-bmc-state-manager"
48DBUS_SERVICE_${PN}-bmc += "xyz.openbmc_project.State.BMC.service"
49
Michael Tritz7199d262017-04-18 17:01:12 -050050FILES_${PN}-discover = "${sbindir}/phosphor-discover-system-state"
51
Patrick Williams267c0bb2017-01-19 21:20:46 -060052SRC_URI += "git://github.com/openbmc/phosphor-state-manager"
Patrick Williams93023a82017-04-20 10:50:05 -050053SRCREV = "cc3fb5d9a720a9a5b2102683da716004cd938e39"
Patrick Williams267c0bb2017-01-19 21:20:46 -060054
55S = "${WORKDIR}/git"