phosphor-ipmi-ethstats: srcrev bump 4cf2befc14..48d6b06ea5
Switch to meson.
Patrick Williams (3):
build: add basic meson config
build: add meson for unit-tests
build: remove autotools support
William A. Kennington III (1):
build: Some minor refactoring
Change-Id: I3697ef580954f5423af0620df5c25e496de7e1c2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meta-google/recipes-phosphor/ipmi/phosphor-ipmi-ethstats_%.bbappend b/meta-google/recipes-phosphor/ipmi/phosphor-ipmi-ethstats_%.bbappend
index 0c05a9e..5cd829a 100644
--- a/meta-google/recipes-phosphor/ipmi/phosphor-ipmi-ethstats_%.bbappend
+++ b/meta-google/recipes-phosphor/ipmi/phosphor-ipmi-ethstats_%.bbappend
@@ -1,2 +1,2 @@
# Enable registration via Google OEM Number in addition to OpenBMC.
-EXTRA_OECONF:append = " --enable-google"
+PACKAGECONFIG += "google-oen"
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ethstats_git.bb b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ethstats_git.bb
index 89cc16c..e7bec21 100644
--- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ethstats_git.bb
+++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ethstats_git.bb
@@ -3,9 +3,8 @@
HOMEPAGE = "http://github.com/openbmc/phosphor-ipmi-ethstats"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
-DEPENDS += "autoconf-archive-native"
DEPENDS += "phosphor-ipmi-host"
-SRCREV = "4cf2befc14036b39ed3d63594c7bf16c635c1892"
+SRCREV = "48d6b06ea5911aabc7126f3bbf808305f1399c25"
PV = "0.1+git${SRCPV}"
PR = "r1"
@@ -13,10 +12,12 @@
S = "${WORKDIR}/git"
-inherit autotools pkgconfig
+inherit meson pkgconfig
inherit obmc-phosphor-ipmiprovider-symlink
-EXTRA_OECONF += "--disable-tests"
+EXTRA_OEMESON:append = " -Dtests=disabled"
+
+PACKAGECONFIG[google-oen] = "-Dgoogle_oen=true,-Dgoogle_oen=false"
FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"
FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}"