Chris Austen | 737b35f | 2015-10-25 00:21:04 -0500 | [diff] [blame] | 1 | SUMMARY = "Phosphor OpenBMC Event Management" |
| 2 | DESCRIPTION = "Phosphor OpenBMC event management reference implementation." |
Chris Austen | 3fef076 | 2015-10-30 15:59:47 -0500 | [diff] [blame] | 3 | HOMEPAGE = "https://github.com/openbmc/phosphor-event" |
Chris Austen | 737b35f | 2015-10-25 00:21:04 -0500 | [diff] [blame] | 4 | PR = "r1" |
| 5 | |
| 6 | |
| 7 | inherit obmc-phosphor-license |
| 8 | inherit obmc-phosphor-event-mgmt |
| 9 | inherit obmc-phosphor-sdbus-service |
| 10 | inherit obmc-phosphor-c-daemon |
| 11 | |
Chris Austen | e6be0e3 | 2016-02-08 23:00:29 -0600 | [diff] [blame] | 12 | TARGET_CPPFLAGS += "-std=c++11 -fpic" |
Chris Austen | 737b35f | 2015-10-25 00:21:04 -0500 | [diff] [blame] | 13 | |
Chris Austen | 3fef076 | 2015-10-30 15:59:47 -0500 | [diff] [blame] | 14 | SRC_URI += "git://github.com/openbmc/phosphor-event" |
| 15 | |
Chris Austen | 8c88302 | 2016-02-09 14:34:44 -0600 | [diff] [blame^] | 16 | SRCREV = "01ac3503dc97fb99bee9c25c23fe73a5f4ea0475" |
Chris Austen | 737b35f | 2015-10-25 00:21:04 -0500 | [diff] [blame] | 17 | |
| 18 | RDEPENDS_${PN} += "libsystemd" |
| 19 | DEPENDS += "systemd" |
| 20 | |
| 21 | |
| 22 | S = "${WORKDIR}/git" |
| 23 | INSTALL_NAME = "event_messaged" |
| 24 | |
| 25 | do_install() { |
Chris Austen | e6be0e3 | 2016-02-08 23:00:29 -0600 | [diff] [blame] | 26 | install -d ${D}/var/lib/obmc/events/ |
Chris Austen | 737b35f | 2015-10-25 00:21:04 -0500 | [diff] [blame] | 27 | install -m 0755 -d ${D}${sbindir} |
| 28 | install -m 0755 ${S}/${INSTALL_NAME} ${D}/${sbindir}/obmc-phosphor-eventd |
| 29 | } |