diff options
author | George Liu <liuxiwei@inspur.com> | 2022-05-23 05:36:40 +0300 |
---|---|---|
committer | George Liu <liuxiwei@inspur.com> | 2022-06-14 08:35:11 +0300 |
commit | 563b6de10292988358a7b8f54766fef13697375b (patch) | |
tree | 3435dc121b4cfd70a36bcad3d347ff628cd315fc /meta-phosphor | |
parent | 5acac4eb09e343576a5400845a7fd9fa0c3ab529 (diff) | |
download | openbmc-563b6de10292988358a7b8f54766fef13697375b.tar.xz |
phosphor-inventory-manager: switch to meson build
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I1042902f6eafbf8094de2fe8a922ba8ac29ef21e
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb b/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb index 16790a3817..ee839cc231 100644 --- a/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb @@ -5,7 +5,7 @@ of OpenBMC platforms." PR = "r1" PV = "1.0+git${SRCPV}" -inherit autotools \ +inherit meson \ pkgconfig \ python3native \ phosphor-dbus-yaml \ @@ -20,11 +20,11 @@ DEPENDS += " \ phosphor-logging \ sdbusplus \ ${PYTHON_PN}-sdbus++-native \ - autoconf-archive-native \ libcereal \ ${PYTHON_PN}-native \ ${PYTHON_PN}-pyyaml-native \ ${PYTHON_PN}-mako-native \ + nlohmann-json \ " OBMC_INVENTORY_PATH="${OBMC_DBUS_PATH_ROOT}/inventory" @@ -34,13 +34,11 @@ DBUS_SERVICE:${PN} = "${OBMC_INVENTORY_MGR_IFACE}.service" S = "${WORKDIR}/git" -EXTRA_OECONF = " \ - YAML_PATH=${STAGING_DIR_HOST}${base_datadir} \ - BUSNAME=${OBMC_INVENTORY_MGR_IFACE} \ - INVENTORY_ROOT=${OBMC_INVENTORY_PATH} \ - IFACE=${OBMC_INVENTORY_MGR_IFACE} \ - IFACES_PATH=${STAGING_DIR_TARGET}${yaml_dir} \ +EXTRA_OEMESON = " \ + -Dtests=disabled \ + -DYAML_PATH=${STAGING_DIR_HOST}${base_datadir} \ + -DIFACES_PATH=${STAGING_DIR_TARGET}${yaml_dir} \ " PACKAGECONFIG ??= "" -PACKAGECONFIG[associations] = "--enable-associations, --disable-associations,nlohmann-json," +PACKAGECONFIG[associations] = "-Dassociations=enabled, -Dassociations=disabled" |