From d043c0365499480ee8e15735f610e500cbf6e303 Mon Sep 17 00:00:00 2001 From: George Liu Date: Tue, 13 Apr 2021 19:08:26 +0800 Subject: 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 Change-Id: I91039207176e483bd83e670b1a2d72a58c7ff2e6 --- .../meta-fp5280g2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-inspur/meta-fp5280g2') 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" -- cgit v1.2.3