blob: e47a5d5766e40cade077984da023374c13de4e8b [file] [log] [blame]
Brad Bishop7cce0f22017-01-17 09:21:15 -05001SUMMARY = "Phosphor IPMI plugin for OpenPOWER OEM Commands"
2DESCRIPTION = "Phosphor IPMI plugin for OpenPOWER OEM Commands"
Chris Austen9d3325a2015-10-24 19:34:11 -05003PR = "r1"
Patrick Venture471c3582018-10-02 19:54:00 -07004PV = "1.0+git${SRCPV}"
Patrick Venture654ed6f2018-11-03 09:01:23 -07005LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
Chris Austen9d3325a2015-10-24 19:34:11 -05007
Matthew Barthe6d12952016-09-28 09:51:58 -05008inherit autotools pkgconfig
Tom Josephdcdc8ea2017-02-01 19:47:27 +05309inherit obmc-phosphor-ipmiprovider-symlink
Patrick Williams29081942020-04-07 11:12:53 -050010inherit python3native
Tom Joseph464b90a2017-10-17 22:52:49 +053011
Patrick Williams6c9e0142020-04-03 15:45:27 -050012require ${BPN}.inc
Chris Austen9d3325a2015-10-24 19:34:11 -050013
Brad Bishopceb1c9a2017-01-17 10:07:14 -050014DEPENDS += "phosphor-ipmi-host"
Matthew Barthe6d12952016-09-28 09:51:58 -050015DEPENDS += "autoconf-archive-native"
Patrick Williamsba5282b2020-03-31 16:43:15 -050016DEPENDS += "sdbusplus"
17DEPENDS += "${PYTHON_PN}-sdbus++-native"
Patrick Williams6ed7d9f2020-04-03 15:33:12 -050018DEPENDS += "${PYTHON_PN}-mako-native"
19DEPENDS += "${PYTHON_PN}-pyyaml-native"
Patrick Williams04f099a2017-08-17 10:42:32 -050020DEPENDS += "phosphor-logging"
Patrick Williamsd6a06142020-06-09 21:00:08 -050021DEPENDS += "phosphor-dbus-interfaces"
Tom Joseph087f5182019-01-28 21:41:27 -060022DEPENDS += "virtual/phosphor-ipmi-inventory-sel"
Patrick Williams04f099a2017-08-17 10:42:32 -050023
Chris Austenf6d294d2016-01-23 18:00:11 -060024TARGET_CFLAGS += "-fpic"
Chris Austen9d3325a2015-10-24 19:34:11 -050025
Tom Josephdcdc8ea2017-02-01 19:47:27 +053026HOSTIPMI_PROVIDER_LIBRARY += "liboemhandler.so"
27
Tom Joseph087f5182019-01-28 21:41:27 -060028EXTRA_OECONF = " \
29 INVSENSOR_YAML_GEN=${STAGING_DIR_NATIVE}${datadir}/phosphor-ipmi-host/sensor/invsensor.yaml \
30 "
31
Chris Austen9d3325a2015-10-24 19:34:11 -050032S = "${WORKDIR}/git"
33
Adriana Kobylak8c6707f2021-08-06 17:35:36 +000034FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}"
35FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}"
36FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la"