summaryrefslogtreecommitdiff
path: root/meta-inspur
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@inspur.com>2021-04-13 14:08:26 +0300
committerGeorge Liu <liuxiwei@inspur.com>2021-04-15 15:30:52 +0300
commitd043c0365499480ee8e15735f610e500cbf6e303 (patch)
tree18c74ba7581bc21e924380d4428192f3917809e7 /meta-inspur
parent2b64ad38eb2bcb3935e74744e19a477ef12ea69e (diff)
downloadopenbmc-d043c0365499480ee8e15735f610e500cbf6e303.tar.xz
fp5280g2: leds: Use PACKAGECONFIG_append instead of EXTRA_OECONF
- Since the phosphor-led-manager_git.bb file use PACKAGECONFIG to define `use-json`, should use PACKAGECONFIG_append instead of EXTRA_OECONF. Tested: Built ledManager successfully and saw use the JSON configuration file at runtime than the static led.yaml Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I91039207176e483bd83e670b1a2d72a58c7ff2e6
Diffstat (limited to 'meta-inspur')
-rw-r--r--meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend
index 2ad194fc8..5bae92647 100644
--- a/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend
@@ -2,7 +2,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://led-group-config.json"
-EXTRA_OECONF += "--enable-use-json"
+PACKAGECONFIG_append = " use-json"
DEPENDS += "phosphor-dbus-interfaces"