commit | d043c0365499480ee8e15735f610e500cbf6e303 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Tue Apr 13 19:08:26 2021 +0800 |
committer | George Liu <liuxiwei@inspur.com> | Thu Apr 15 12:30:52 2021 +0000 |
tree | 18c74ba7581bc21e924380d4428192f3917809e7 | |
parent | 2b64ad38eb2bcb3935e74744e19a477ef12ea69e [diff] |
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
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 2ad194f..5bae926 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 @@ SRC_URI += "file://led-group-config.json" -EXTRA_OECONF += "--enable-use-json" +PACKAGECONFIG_append = " use-json" DEPENDS += "phosphor-dbus-interfaces"