summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-x86
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2023-08-22 23:01:25 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-08-23 04:39:03 +0300
commit3d779de2f1bac85d9003d8dff9301a18d37f6c08 (patch)
tree49071c3e597e60d87d82b38d58aa1be9aeab502e /meta-phosphor/recipes-x86
parente09da715e89565e4dd4acc6fbc3b23b15cbb465e (diff)
downloadopenbmc-3d779de2f1bac85d9003d8dff9301a18d37f6c08.tar.xz
peci-pcie: 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 <jason.m.bills@linux.intel.com> Change-Id: Iaa6ea4ebe8dbe03d034711275b09d54fd64062eb
Diffstat (limited to 'meta-phosphor/recipes-x86')
-rw-r--r--meta-phosphor/recipes-x86/peci-pcie/peci-pcie_git.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-phosphor/recipes-x86/peci-pcie/peci-pcie_git.bb b/meta-phosphor/recipes-x86/peci-pcie/peci-pcie_git.bb
index 1645f8de0e..2d19b9fe29 100644
--- a/meta-phosphor/recipes-x86/peci-pcie/peci-pcie_git.bb
+++ b/meta-phosphor/recipes-x86/peci-pcie/peci-pcie_git.bb
@@ -7,11 +7,14 @@ DEPENDS = "boost sdbusplus libpeci"
SRCREV = "3570b9ea5ff109a6e000d16a2d34b974fcf6c335"
PV = "0.1+git${SRCPV}"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[wait-for-os-standby] = "-Dwait-for-os-standby=enabled,-Dwait-for-os-standby=disabled"
+PACKAGECONFIG[use-rdendpointcfg] = "-Duse-rdendpointcfg=enabled,-Duse-rdendpointcfg=disabled"
+
SRC_URI = "git://github.com/openbmc/peci-pcie;branch=master;protocol=https"
S = "${WORKDIR}/git"
SYSTEMD_SERVICE:${PN} += "xyz.openbmc_project.PCIe.service"
-inherit cmake pkgconfig systemd
+inherit meson pkgconfig systemd
-EXTRA_OECMAKE = "-DYOCTO=1"