phosphor-logging: Add PEL PACKAGECONFIG
Create a PACKAGECONFIG option for phosphor-logging that allows one to
enable the OpenPower PEL extension, which, when enabled, will create
OpenPower Platform Event Log (PEL) format event logs for each OpenBMC
event log.
(From meta-phosphor rev: b1c8831ab098fdf2df6f096c27f40630f70e34fd)
Change-Id: I592c073b6e7e03f106b9541ea937749a8995a7dc
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb b/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb
index 39bef14..a431b2c 100644
--- a/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb
+++ b/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb
@@ -92,6 +92,11 @@
--disable-install_scripts, ,\
"
+PACKAGECONFIG[openpower-pels] = " \
+ --enable-openpower-pel-extension, \
+ --disable-openpower-pel-extension, ,\
+ "
+
# Enable install_scripts during native and native SDK build
PACKAGECONFIG_add_class-native = "install_scripts"
PACKAGECONFIG_add_class-nativesdk = "install_scripts"