From 430a506f86bd3104eec905c2d0e8bd2218ef3c8d Mon Sep 17 00:00:00 2001 From: Deepak Kodihalli Date: Tue, 28 Mar 2017 07:47:51 -0500 Subject: 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 --- meta-phosphor/common/recipes-phosphor/logging/phosphor-logging.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'meta-phosphor/common/recipes-phosphor/logging') 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" -- cgit v1.2.1