Move OpenPower VPD Parser to Meson
This commit moves the openpower-fru-vpd recipe
to use meson instead of autotools.
Tested:
Tested in conjunction with openpower-vpd-parser master.
Builds and runs fine.
Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Change-Id: Idda837cdf058a63d3c84bdf4d5c072aec7d3239c
diff --git a/recipes-phosphor/vpd/openpower-fru-vpd_git.bb b/recipes-phosphor/vpd/openpower-fru-vpd_git.bb
index b82ae84..da31ab9 100644
--- a/recipes-phosphor/vpd/openpower-fru-vpd_git.bb
+++ b/recipes-phosphor/vpd/openpower-fru-vpd_git.bb
@@ -3,7 +3,7 @@
PR = "r1"
PV = "1.0+git${SRCPV}"
-inherit autotools pkgconfig
+inherit meson pkgconfig
inherit openpower-fru-vpd
inherit python3native
inherit obmc-phosphor-systemd
@@ -27,9 +27,10 @@
S = "${WORKDIR}/git"
-EXTRA_OECONF = " \
- FRU_YAML=${STAGING_DIR_NATIVE}${vpdlayout_datadir}/layout.yaml \
- PROP_YAML=${STAGING_DIR_NATIVE}${properties_datadir}/out.yaml \
+EXTRA_OEMESON = " \
+ -Dtests=disabled \
+ -DFRU_YAML=${STAGING_DIR_NATIVE}${vpdlayout_datadir}/layout.yaml \
+ -DPROP_YAML=${STAGING_DIR_NATIVE}${properties_datadir}/out.yaml \
"
do_install_append() {