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.
(From meta-openpower rev: 08d415a4e7501805b26f33d650fb550d6e7ed034)
Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Change-Id: Ic1ce24c8b1382294cfed5b682d52fa27b2cce441
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-openpower/recipes-phosphor/vpd/openpower-fru-vpd_git.bb b/meta-openpower/recipes-phosphor/vpd/openpower-fru-vpd_git.bb
index b82ae84..da31ab9 100644
--- a/meta-openpower/recipes-phosphor/vpd/openpower-fru-vpd_git.bb
+++ b/meta-openpower/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() {