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
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 1645f8d..2d19b9f 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 @@
 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"