summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKun Yi <kunyi731@gmail.com>2020-05-03 08:13:53 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-05-14 01:09:10 +0300
commit556e23b33ab210386e5f1ad891b8c0240c15967d (patch)
treeec4b11b82d8b9f4554933e0eaee8f750eee4ab03
parent89f8222bc6fbc36837a14e5a7e1eda8b25849181 (diff)
downloadopenbmc-556e23b33ab210386e5f1ad891b8c0240c15967d.tar.xz
phosphor-host-postd: Use meson
Now that meson support is ready, build using meson instead of autotools (From meta-phosphor rev: 69c2c41ddc9ff7f44a34f9bb4b9225a75729ab96) Signed-off-by: Kun Yi <kunyi731@gmail.com> Change-Id: I76a4d531fd25dd29ec6164b68f7c2c07f187bed8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
-rw-r--r--meta-phosphor/recipes-phosphor/host/phosphor-host-postd_git.bb14
1 files changed, 6 insertions, 8 deletions
diff --git a/meta-phosphor/recipes-phosphor/host/phosphor-host-postd_git.bb b/meta-phosphor/recipes-phosphor/host/phosphor-host-postd_git.bb
index e400893bfb..e263cdbb1a 100644
--- a/meta-phosphor/recipes-phosphor/host/phosphor-host-postd_git.bb
+++ b/meta-phosphor/recipes-phosphor/host/phosphor-host-postd_git.bb
@@ -6,13 +6,13 @@ PV = "0.1+git${SRCPV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
-inherit autotools pkgconfig
+inherit meson
+inherit pkgconfig
inherit systemd
PACKAGECONFIG ?= ""
-PACKAGECONFIG[7seg] = "--enable-7seg,--disable-7seg,,udev"
+PACKAGECONFIG[7seg] = "-D7seg=enabled,-D7seg=disabled,,udev"
-DEPENDS += "autoconf-archive-native"
DEPENDS += "sdbusplus"
DEPENDS += "sdeventplus"
DEPENDS += "phosphor-dbus-interfaces"
@@ -29,11 +29,9 @@ SERVICE_FILE = "lpcsnoop.service"
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} += "${SERVICE_FILE}"
-EXTRA_OECONF = " \
- SNOOP_DEVICE="${SNOOP_DEVICE}" \
- POST_CODE_BYTES="${POST_CODE_BYTES}" \
- SYSTEMD_TARGET="multi-user.target" \
-"
+EXTRA_OEMESON += "-Dsnoop-device=${SNOOP_DEVICE}"
+EXTRA_OEMESON += "-Dpost-code-bytes=${POST_CODE_BYTES}"
+EXTRA_OEMESON += "-Dsystemd-target=multi-user.target"
POSTCODE_SEVENSEG_DEVICE ?= "seven_seg_disp_val"
SERVICE_FILE_7SEG = " \