phosphor-logging: Add a depends when PELs enabled
When the openpower-pels packageconfig is enabled, add a DEPENDS for
nlohmann-json, as the openpower-pel code uses that.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I679c5798631a2b32649ae55eebbeb896f8cfea67
diff --git a/recipes-phosphor/logging/phosphor-logging_git.bb b/recipes-phosphor/logging/phosphor-logging_git.bb
index 20fdfde..1340076 100644
--- a/recipes-phosphor/logging/phosphor-logging_git.bb
+++ b/recipes-phosphor/logging/phosphor-logging_git.bb
@@ -94,7 +94,9 @@
PACKAGECONFIG[openpower-pels] = " \
--enable-openpower-pel-extension, \
- --disable-openpower-pel-extension, ,\
+ --disable-openpower-pel-extension, \
+ nlohmann-json, \
+ , \
"
# Enable install_scripts during native and native SDK build