[PATCH openbmc] Prep work for presistent event logs

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Feb 9 16:10:21 AEDT 2016


From: Chris Austen <austenc at us.ibm.com>

Making a very simple commit that contains the additional required
c++ flags along with making the directory to store the new event
manager log files.  This does not enable anything, it is a
precursor got the big drop.  I'd like to get some of the more
simple things in to the build first since a 2 line change is
faster to review.
---
 .../common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-event.bb  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-event.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-event.bb
index 6cdf398..3b8ce0e 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-event.bb
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-event.bb
@@ -9,6 +9,7 @@ inherit obmc-phosphor-event-mgmt
 inherit obmc-phosphor-sdbus-service
 inherit obmc-phosphor-c-daemon
 
+TARGET_CPPFLAGS += "-std=c++11 -fpic"
 
 SRC_URI += "git://github.com/openbmc/phosphor-event"
 
@@ -22,6 +23,7 @@ S = "${WORKDIR}/git"
 INSTALL_NAME = "event_messaged"
 
 do_install() {
+        install -d ${D}/var/lib/obmc/events/
         install -m 0755 -d ${D}${sbindir}
         install -m 0755 ${S}/${INSTALL_NAME} ${D}/${sbindir}/obmc-phosphor-eventd
 }
-- 
2.6.4




More information about the openbmc mailing list