summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb
blob: 5a192a30536b2f6057ef47803c65514ef8f88abc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
SUMMARY = "Phosphor Inventory Manager"
DESCRIPTION = "Phosphor Inventory Manager is an inventory object \
lifecycle management application, suitable for use on a wide variety \
of OpenBMC platforms."
DEPENDS += " \
        phosphor-inventory-manager-assettag \
        phosphor-dbus-interfaces \
        phosphor-logging \
        sdbusplus \
        ${PYTHON_PN}-sdbus++-native \
        libcereal \
        ${PYTHON_PN}-native \
        ${PYTHON_PN}-pyyaml-native \
        ${PYTHON_PN}-mako-native \
        nlohmann-json \
        "
PACKAGECONFIG ??= ""
PACKAGECONFIG[associations] = "-Dassociations=enabled, -Dassociations=disabled"
PV = "1.0+git${SRCPV}"
PR = "r1"

S = "${WORKDIR}/git"

inherit meson \
        pkgconfig \
        python3native \
        phosphor-dbus-yaml \
        phosphor-inventory-manager \
        obmc-phosphor-dbus-service

EXTRA_OEMESON = " \
        -Dtests=disabled \
        -DYAML_PATH=${STAGING_DIR_HOST}${base_datadir} \
        -DIFACES_PATH=${STAGING_DIR_TARGET}${yaml_dir} \
        "

require phosphor-inventory-manager.inc

OBMC_INVENTORY_PATH = "${OBMC_DBUS_PATH_ROOT}/inventory"
OBMC_INVENTORY_MGR_IFACE = "${OBMC_DBUS_IFACE_ROOT}.Inventory.Manager"
DBUS_SERVICE:${PN} = "${OBMC_INVENTORY_MGR_IFACE}.service"