summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Austen <austenc@us.ibm.com>2016-02-08 23:00:29 -0600
committerChris Austen <austenc@us.ibm.com>2016-02-08 23:00:29 -0600
commit1927aaa83da13a50ce24c011c023ed4cdb5b7706 (patch)
treef323ce69fbb9b6467d5fdd0b92bf5f81adb53700
parenta307ddbc5840fa37d2dd0bc63eb5d9be8df5b1cf (diff)
downloadtalos-openbmc-1927aaa83da13a50ce24c011c023ed4cdb5b7706.tar.gz
talos-openbmc-1927aaa83da13a50ce24c011c023ed4cdb5b7706.zip
Prep work for presistent event logs
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.
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/obmc-phosphor-event.bb2
1 files changed, 2 insertions, 0 deletions
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 6cdf398e5..3b8ce0e63 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
}
OpenPOWER on IntegriCloud