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>
diff --git a/common/recipes-phosphor/logging/phosphor-logging.bb b/common/recipes-phosphor/logging/phosphor-logging.bb
index 9c5dd46..677b94a 100644
--- a/common/recipes-phosphor/logging/phosphor-logging.bb
+++ b/common/recipes-phosphor/logging/phosphor-logging.bb
@@ -31,9 +31,13 @@
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"