From bf440f143d6d858dcd4e0e0f2fcc76de98c2f003 Mon Sep 17 00:00:00 2001 From: "Jason M. Bills" Date: Mon, 21 Aug 2023 13:40:13 -0700 Subject: host-error-monitor: switch to meson This changes the build to meson and creates PACKAGECONFIGs for the build options to avoid needing to use EXTRA_OEMESON in recipes. Signed-off-by: Jason M. Bills Change-Id: Ifdbfecef46d16a5f36b03ee3a72eef30b9bc1b8b --- .../recipes-core/host-error-monitor/host-error-monitor_git.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'meta-intel-openbmc/meta-common/recipes-core/host-error-monitor') diff --git a/meta-intel-openbmc/meta-common/recipes-core/host-error-monitor/host-error-monitor_git.bb b/meta-intel-openbmc/meta-common/recipes-core/host-error-monitor/host-error-monitor_git.bb index 06426b1871..e6c8c573c3 100644 --- a/meta-intel-openbmc/meta-common/recipes-core/host-error-monitor/host-error-monitor_git.bb +++ b/meta-intel-openbmc/meta-common/recipes-core/host-error-monitor/host-error-monitor_git.bb @@ -1,6 +1,10 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=7becf906c8f8d03c237bad13bc3dac53" -inherit cmake pkgconfig systemd +inherit meson pkgconfig systemd + +PACKAGECONFIG ??= "" +PACKAGECONFIG[libpeci] = "-Dlibpeci=enabled,-Dlibpeci=disabled" +PACKAGECONFIG[crashdump] = "-Dcrashdump=enabled,-Dcrashdump=disabled" SRC_URI = "git://github.com/openbmc/host-error-monitor;branch=master;protocol=https" @@ -12,5 +16,3 @@ SRCREV = "5e1e7e3c4fb6ba9f47d62ec9c053ee6b7f80e456" S = "${WORKDIR}/git" SYSTEMD_SERVICE:${PN} += "xyz.openbmc_project.HostErrorMonitor.service" - -EXTRA_OECMAKE = "-DYOCTO=1" -- cgit v1.2.3