From c6b01641675b986a98c2124f8b249e3e6119a674 Mon Sep 17 00:00:00 2001 From: George Liu Date: Fri, 16 Apr 2021 10:14:02 +0800 Subject: 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 Change-Id: Id90338dabd1862cced26a9d4f25204e4f8c36ec4 --- .../recipes-phosphor/leds/phosphor-led-manager_git.bb | 10 +++++----- 1 file 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" -- cgit v1.2.3