summaryrefslogtreecommitdiff
path: root/meta-phosphor
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2021-03-23 16:52:11 +0300
committerVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2021-03-24 10:46:37 +0300
commit9f410ccf2825825c8a3dafed00eb11aef4ffe2da (patch)
treee8435a8fec9ff807066c016bc0b0638f53f91d9f /meta-phosphor
parentaa395cc617408d9ab50b5a0c278cb3165c96801f (diff)
downloadopenbmc-9f410ccf2825825c8a3dafed00eb11aef4ffe2da.tar.xz
leds: rainier: Enable PACKAGECONFIG to use json
This enables phosphor-ledmanager to use JSON configuration file Change-Id: I3cbd0bf6b60e81f9f0a479ad51dab438c708c6c1 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb
index 55171dbed..01932d22a 100644
--- a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb
+++ b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb
@@ -13,6 +13,9 @@ LED_MGR_PACKAGES = " \
${PN}-faultmonitor \
"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[use-json] = "--enable-use-json, --disable-use-json"
+
PACKAGE_BEFORE_PN += "${LED_MGR_PACKAGES}"
ALLOW_EMPTY_${PN} = "1"