blob: bba2a649800f18cf542c9ae214ea86a35f91d0d2 [file] [log] [blame]
Chris Austen737b35f2015-10-25 00:21:04 -05001SUMMARY = "Phosphor OpenBMC Event Management"
2DESCRIPTION = "Phosphor OpenBMC event management reference implementation."
Chris Austen3fef0762015-10-30 15:59:47 -05003HOMEPAGE = "https://github.com/openbmc/phosphor-event"
Chris Austen737b35f2015-10-25 00:21:04 -05004PR = "r1"
5
6
7inherit obmc-phosphor-license
8inherit obmc-phosphor-event-mgmt
9inherit obmc-phosphor-sdbus-service
10inherit obmc-phosphor-c-daemon
11
Patrick Williams8592c8c2016-08-30 12:30:23 -050012TARGET_CXXFLAGS += " -std=c++11 -fpic"
13TARGET_CFLAGS += " -fpic"
Chris Austen737b35f2015-10-25 00:21:04 -050014
Chris Austen3fef0762015-10-30 15:59:47 -050015SRC_URI += "git://github.com/openbmc/phosphor-event"
Sergey Solomin2461f3c2016-08-15 14:21:08 -050016SRC_URI += "file://eventd.conf"
Chris Austen3fef0762015-10-30 15:59:47 -050017
Patrick Williamse43eee72016-08-30 12:30:03 -050018SRCREV = "059b35e1eabdd87ad02b4343692789386c134082"
Chris Austen737b35f2015-10-25 00:21:04 -050019
20RDEPENDS_${PN} += "libsystemd"
21DEPENDS += "systemd"
22
23
24S = "${WORKDIR}/git"
25INSTALL_NAME = "event_messaged"
26
27do_install() {
Chris Austene6be0e32016-02-08 23:00:29 -060028 install -d ${D}/var/lib/obmc/events/
Chris Austen737b35f2015-10-25 00:21:04 -050029 install -m 0755 -d ${D}${sbindir}
30 install -m 0755 ${S}/${INSTALL_NAME} ${D}/${sbindir}/obmc-phosphor-eventd
Sergey Solomin2461f3c2016-08-15 14:21:08 -050031 install -m 0755 -d ${D}${sysconfdir}/default/eventd
32 install -m 0644 ${WORKDIR}/eventd.conf ${D}${sysconfdir}/default/eventd/eventd.conf
Chris Austen737b35f2015-10-25 00:21:04 -050033}