summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2017-02-28 12:10:44 -0600
committerAdriana Kobylak <anoo@us.ibm.com>2017-03-15 11:37:06 -0500
commitd722b3aa03c55f9a9737fb47a68e66ad803f53cc (patch)
treea2b88ab4e540baf101a6b0a22dba12f31a167896 /Makefile.am
parenta3db07742c870b5e974c8f8c8ae724ca2298b015 (diff)
downloadphosphor-logging-d722b3aa03c55f9a9737fb47a68e66ad803f53cc.tar.gz
phosphor-logging-d722b3aa03c55f9a9737fb47a68e66ad803f53cc.zip
Make generated code to be const and extern
Set generated maps to be const so that they don't get accidentally overwritten. Use .find() to access these generated data sets as the [] operator is not const. Declare the generated maps as extern so that there's no need to include the generated .cpp file. Change-Id: I4efdcace099bec738e1fa9b67decbedd515d3dfa Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index f2c44d9..40f780d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,6 +31,7 @@ phosphor_log_manager_SOURCES = \
xyz/openbmc_project/Logging/Internal/Manager/server.cpp \
log_manager.cpp \
log_manager_main.cpp \
+ elog-lookup.cpp \
elog_entry.cpp \
org.openbmc.Associations.cpp \
elog-process-metadata.cpp
OpenPOWER on IntegriCloud