blob: 4f77133782c42eebb694a2f23152f6b39c7c9e2d [file] [log] [blame]
Brad Bishopfd327fb2017-01-17 09:21:15 -05001SUMMARY = "Phosphor IPMI plugin for OpenPOWER OEM Commands"
2DESCRIPTION = "Phosphor IPMI plugin for OpenPOWER OEM Commands"
Brad Bishop07ffcce2017-01-17 09:18:39 -05003PR = "r1"
Patrick Venture53f5e992018-10-02 19:54:00 -07004PV = "1.0+git${SRCPV}"
Patrick Venture530b4942018-11-03 09:01:23 -07005LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
Brad Bishop07ffcce2017-01-17 09:18:39 -05007
8inherit autotools pkgconfig
Tom Josephdf686502017-02-01 19:47:27 +05309inherit obmc-phosphor-ipmiprovider-symlink
Tom Josephb59a41a2017-10-17 22:52:49 +053010inherit pythonnative
11
Patrick Williamsdf35a252020-04-03 15:45:27 -050012require ${BPN}.inc
Brad Bishop07ffcce2017-01-17 09:18:39 -050013
Brad Bishop80e7f902017-01-17 10:07:14 -050014DEPENDS += "phosphor-ipmi-host"
Brad Bishop07ffcce2017-01-17 09:18:39 -050015DEPENDS += "autoconf-archive-native"
Patrick Williamsd555f822020-03-31 16:43:15 -050016DEPENDS += "sdbusplus"
17DEPENDS += "${PYTHON_PN}-sdbus++-native"
Patrick Williams07cc98a2020-04-03 15:33:12 -050018DEPENDS += "${PYTHON_PN}-mako-native"
19DEPENDS += "${PYTHON_PN}-pyyaml-native"
Patrick Williamscafbae62017-08-17 10:42:32 -050020DEPENDS += "phosphor-logging"
21DEPENDS += "phosphor-dbus-interfaces phosphor-dbus-interfaces-native"
22DEPENDS += "openpower-dbus-interfaces openpower-dbus-interfaces-native"
Tom Joseph55b87c22019-01-28 21:41:27 -060023DEPENDS += "virtual/phosphor-ipmi-inventory-sel"
Patrick Williamscafbae62017-08-17 10:42:32 -050024
Brad Bishop07ffcce2017-01-17 09:18:39 -050025TARGET_CFLAGS += "-fpic"
26
Tom Josephdf686502017-02-01 19:47:27 +053027HOSTIPMI_PROVIDER_LIBRARY += "liboemhandler.so"
28
Tom Joseph55b87c22019-01-28 21:41:27 -060029EXTRA_OECONF = " \
30 INVSENSOR_YAML_GEN=${STAGING_DIR_NATIVE}${datadir}/phosphor-ipmi-host/sensor/invsensor.yaml \
31 "
32
Brad Bishop07ffcce2017-01-17 09:18:39 -050033S = "${WORKDIR}/git"
34
Tom Josephdf686502017-02-01 19:47:27 +053035FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"
Brad Bishop07ffcce2017-01-17 09:18:39 -050036FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}"
Tom Josephdf686502017-02-01 19:47:27 +053037FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la"