summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@inspur.com>2021-04-16 05:14:02 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2021-04-16 20:59:22 +0300
commitc6b01641675b986a98c2124f8b249e3e6119a674 (patch)
treec6733be93a1a8aec23c202420ebba6fb81fb6ea5
parentbce29e152cd5aeb0d83f5012744d32cdfb816b17 (diff)
downloadopenbmc-c6b01641675b986a98c2124f8b249e3e6119a674.tar.xz
ledManager: build phosphor-led-manager with meson
The intent behind this commit to build phosphor-led-manager with meson and remove autotools. Tested: built phosphor-led-manager successfully and worked. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Id90338dabd1862cced26a9d4f25204e4f8c36ec4
-rw-r--r--meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb10
1 files changed, 5 insertions, 5 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 b14f154ff..cce6fdef0 100644
--- a/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb
+++ b/meta-phosphor/recipes-phosphor/leds/phosphor-led-manager_git.bb
@@ -5,14 +5,14 @@ PV = "1.0+git${SRCPV}"
require ${PN}.inc
-inherit autotools pkgconfig python3native
+inherit meson pkgconfig python3native
inherit obmc-phosphor-dbus-service obmc-phosphor-systemd
PACKAGECONFIG ??= ""
-PACKAGECONFIG[use-json] = "--enable-use-json, --disable-use-json"
-PACKAGECONFIG[use-lamp-test] = "--enable-use-lamp-test, --disable-use-lamp-test"
-PACKAGECONFIG[monitor-operational-status] = "--enable-monitor-operational-status, \
- --disable-monitor-operational-status"
+PACKAGECONFIG[use-json] = "-Duse-json=enabled, -Duse-json=disabled"
+PACKAGECONFIG[use-lamp-test] = "-Duse-lamp-test=enabled, -Duse-lamp-test=disabled"
+PACKAGECONFIG[monitor-operational-status] = "-Dmonitor-operational-status=enabled, \
+ -Dmonitor-operational-status=disabled"
SYSTEMD_PACKAGES = "${PN} ${PN}-faultmonitor"
PACKAGE_BEFORE_PN += "${PN}-faultmonitor"