Brad Bishop | ce718f9 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 1 | SUMMARY = "Phosphor Inventory Manager" |
| 2 | DESCRIPTION = "Phosphor Inventory Manager is an inventory object \ |
| 3 | lifecycle management application, suitable for use on a wide variety \ |
| 4 | of OpenBMC platforms." |
| 5 | PR = "r1" |
Patrick Venture | d149d4a | 2018-10-17 07:48:17 -0700 | [diff] [blame] | 6 | PV = "1.0+git${SRCPV}" |
Brad Bishop | ce718f9 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 7 | |
| 8 | inherit autotools \ |
| 9 | pkgconfig \ |
Andrew Geissler | 0f100cd | 2020-04-06 01:41:13 +0000 | [diff] [blame] | 10 | python3native \ |
Marri Devender Rao | c84d413 | 2017-06-08 23:53:04 -0500 | [diff] [blame] | 11 | phosphor-dbus-yaml \ |
Brad Bishop | b7d3a49 | 2017-01-28 15:28:17 -0500 | [diff] [blame] | 12 | phosphor-inventory-manager \ |
Brad Bishop | ce718f9 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 13 | obmc-phosphor-dbus-service |
| 14 | |
| 15 | require phosphor-inventory-manager.inc |
| 16 | |
| 17 | DEPENDS += " \ |
Brad Bishop | bd44fa8 | 2019-05-22 19:21:40 -0400 | [diff] [blame] | 18 | phosphor-inventory-manager-assettag \ |
Brad Bishop | 286df17 | 2017-02-13 22:51:36 -0500 | [diff] [blame] | 19 | phosphor-dbus-interfaces \ |
Brad Bishop | 15947ed | 2017-02-15 14:11:50 -0500 | [diff] [blame] | 20 | phosphor-logging \ |
Brad Bishop | ce718f9 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 21 | sdbusplus \ |
Patrick Williams | 4b32c9a | 2020-03-31 16:43:15 -0500 | [diff] [blame] | 22 | ${PYTHON_PN}-sdbus++-native \ |
Brad Bishop | ce718f9 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 23 | autoconf-archive-native \ |
Brad Bishop | 17c08bf | 2018-10-18 17:07:53 -0400 | [diff] [blame] | 24 | libcereal \ |
Andrew Geissler | b49af0c | 2020-03-05 09:27:35 -0600 | [diff] [blame] | 25 | ${PYTHON_PN}-native \ |
| 26 | ${PYTHON_PN}-pyyaml-native \ |
| 27 | ${PYTHON_PN}-mako-native \ |
Brad Bishop | ce718f9 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 28 | " |
Brad Bishop | ce718f9 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 29 | |
Brad Bishop | 296b27c | 2017-02-23 10:44:48 -0500 | [diff] [blame] | 30 | OBMC_INVENTORY_PATH="${OBMC_DBUS_PATH_ROOT}/inventory" |
Brad Bishop | ce718f9 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 31 | OBMC_INVENTORY_MGR_IFACE="${OBMC_DBUS_IFACE_ROOT}.Inventory.Manager" |
| 32 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 33 | DBUS_SERVICE:${PN} = "${OBMC_INVENTORY_MGR_IFACE}.service" |
Brad Bishop | ce718f9 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 34 | |
| 35 | S = "${WORKDIR}/git" |
| 36 | |
| 37 | EXTRA_OECONF = " \ |
Brad Bishop | bd44fa8 | 2019-05-22 19:21:40 -0400 | [diff] [blame] | 38 | YAML_PATH=${STAGING_DIR_HOST}${base_datadir} \ |
Brad Bishop | ce718f9 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 39 | BUSNAME=${OBMC_INVENTORY_MGR_IFACE} \ |
| 40 | INVENTORY_ROOT=${OBMC_INVENTORY_PATH} \ |
| 41 | IFACE=${OBMC_INVENTORY_MGR_IFACE} \ |
Patrick Williams | ef116bd | 2020-06-10 06:52:05 -0500 | [diff] [blame] | 42 | IFACES_PATH=${STAGING_DIR_TARGET}${yaml_dir} \ |
Brad Bishop | ce718f9 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 43 | " |
Matt Spinler | 0bf3793 | 2019-03-11 16:24:03 -0500 | [diff] [blame] | 44 | |
| 45 | PACKAGECONFIG ??= "" |
| 46 | PACKAGECONFIG[associations] = "--enable-associations, --disable-associations,nlohmann-json," |