summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/logging
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-03-28 07:47:51 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-03-30 20:05:21 +0000
commit430a506f86bd3104eec905c2d0e8bd2218ef3c8d (patch)
tree7e7dd0a6bf88dfa21359605f779af751b1b16368 /meta-phosphor/common/recipes-phosphor/logging
parent14c47d2b8ee482275302ddd3b1d3d64b5a7944c2 (diff)
downloadtalos-openbmc-430a506f86bd3104eec905c2d0e8bd2218ef3c8d.tar.gz
talos-openbmc-430a506f86bd3104eec905c2d0e8bd2218ef3c8d.zip
phosphor-logging: set config flag
Set config flag 'enable-metadata-processing', to indicate that error metadata handlers should be compiled. Change-Id: Ica7cd6bdfcf6cb88c672a504593f20a5fddb7ca4 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/logging')
-rw-r--r--meta-phosphor/common/recipes-phosphor/logging/phosphor-logging.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/logging/phosphor-logging.bb b/meta-phosphor/common/recipes-phosphor/logging/phosphor-logging.bb
index 9c5dd46d4..677b94a44 100644
--- a/meta-phosphor/common/recipes-phosphor/logging/phosphor-logging.bb
+++ b/meta-phosphor/common/recipes-phosphor/logging/phosphor-logging.bb
@@ -31,9 +31,13 @@ SRCREV = "58f16f7e3a60e05a04e25c0a7e363757b65e72d5"
S = "${WORKDIR}/git"
+PACKAGECONFIG ??= "metadata-processing"
+PACKAGECONFIG[metadata-processing] = " \
+ --enable-metadata-processing, \
+ --disable-metadata-processing, , \
+ "
+
EXTRA_OECONF = " \
YAML_DIR=${STAGING_DIR_NATIVE}${yaml_dir} \
CALLOUTS_YAML=${STAGING_DIR_NATIVE}${callouts_datadir}/callouts.yaml \
"
-
-TARGET_CXXFLAGS += "-DPROCESS_META"
OpenPOWER on IntegriCloud