phosphor-pid-control: change to use meson build
Signed-off-by: Harvey Wu <Harvey.Wu@quantatw.com>
Change-Id: I03acb8f41bc5930cdcc97b7595fd812fc7d11c47
diff --git a/meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb b/meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb
index 4175be0..03c23a0 100644
--- a/meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb
+++ b/meta-phosphor/recipes-phosphor/fans/phosphor-pid-control_git.bb
@@ -28,14 +28,14 @@
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "${SERVICE_FILE}"
-inherit autotools pkgconfig
+inherit meson pkgconfig
inherit obmc-phosphor-ipmiprovider-symlink
inherit systemd
-EXTRA_OECONF = " \
- SYSTEMD_TARGET="multi-user.target" \
- --disable-tests \
- "
+EXTRA_OEMESON = " \
+ -Dtests=disabled \
+ -Dsystemd_target="multi-user.target" \
+ "
FILES:${PN} = "${bindir}/swampd ${bindir}/setsensor"
# The following installs the OEM IPMI handler for the fan controls.