phosphor-watchdog: Use meson instead of autotools
This will allow us to get rid of autotools in the upstream sources.
Change-Id: Icf103fcea314ca6b6648fa6ce8732c60ed976022
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/recipes-phosphor/watchdog/phosphor-watchdog_git.bb b/recipes-phosphor/watchdog/phosphor-watchdog_git.bb
index 0224d64..906f665 100644
--- a/recipes-phosphor/watchdog/phosphor-watchdog_git.bb
+++ b/recipes-phosphor/watchdog/phosphor-watchdog_git.bb
@@ -6,13 +6,12 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
-inherit autotools pkgconfig
+inherit meson pkgconfig
inherit obmc-phosphor-dbus-service
RPROVIDES_${PN} += "virtual/obmc-watchdog"
PROVIDES += "virtual/obmc-watchdog"
-DEPENDS += "autoconf-archive-native"
DEPENDS += "cli11"
DEPENDS += "sdbusplus"
DEPENDS += "sdeventplus"
@@ -24,6 +23,10 @@
SRCREV = "26eef26c97beec18d0f96fd1cd792229caded542"
S = "${WORKDIR}/git"
+EXTRA_OEMESON = " \
+ -Dtests=disabled \
+ "
+
# Copies config file having arguments for host watchdog
SYSTEMD_ENVIRONMENT_FILE_${PN} +="obmc/watchdog/poweron"