Brad Bishop | 7cce0f2 | 2017-01-17 09:21:15 -0500 | [diff] [blame] | 1 | SUMMARY = "Phosphor IPMI plugin for OpenPOWER OEM Commands" |
| 2 | DESCRIPTION = "Phosphor IPMI plugin for OpenPOWER OEM Commands" |
Chris Austen | 9d3325a | 2015-10-24 19:34:11 -0500 | [diff] [blame] | 3 | PR = "r1" |
Patrick Venture | 471c358 | 2018-10-02 19:54:00 -0700 | [diff] [blame] | 4 | PV = "1.0+git${SRCPV}" |
Patrick Venture | 654ed6f | 2018-11-03 09:01:23 -0700 | [diff] [blame] | 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
Chris Austen | 9d3325a | 2015-10-24 19:34:11 -0500 | [diff] [blame] | 7 | |
Matthew Barth | e6d1295 | 2016-09-28 09:51:58 -0500 | [diff] [blame] | 8 | inherit autotools pkgconfig |
Tom Joseph | dcdc8ea | 2017-02-01 19:47:27 +0530 | [diff] [blame] | 9 | inherit obmc-phosphor-ipmiprovider-symlink |
Tom Joseph | 464b90a | 2017-10-17 22:52:49 +0530 | [diff] [blame] | 10 | inherit pythonnative |
| 11 | |
| 12 | require ${PN}.inc |
Chris Austen | 9d3325a | 2015-10-24 19:34:11 -0500 | [diff] [blame] | 13 | |
Brad Bishop | ceb1c9a | 2017-01-17 10:07:14 -0500 | [diff] [blame] | 14 | DEPENDS += "phosphor-ipmi-host" |
Matthew Barth | e6d1295 | 2016-09-28 09:51:58 -0500 | [diff] [blame] | 15 | DEPENDS += "autoconf-archive-native" |
Patrick Williams | 04f099a | 2017-08-17 10:42:32 -0500 | [diff] [blame] | 16 | DEPENDS += "sdbusplus sdbusplus-native" |
| 17 | DEPENDS += "phosphor-logging" |
| 18 | DEPENDS += "phosphor-dbus-interfaces phosphor-dbus-interfaces-native" |
| 19 | DEPENDS += "openpower-dbus-interfaces openpower-dbus-interfaces-native" |
Tom Joseph | 464b90a | 2017-10-17 22:52:49 +0530 | [diff] [blame] | 20 | DEPENDS += "sdbus++-native" |
Tom Joseph | 087f518 | 2019-01-28 21:41:27 -0600 | [diff] [blame^] | 21 | DEPENDS += "virtual/phosphor-ipmi-inventory-sel" |
Patrick Williams | 04f099a | 2017-08-17 10:42:32 -0500 | [diff] [blame] | 22 | |
| 23 | RDEPENDS_${PN} += " \ |
| 24 | sdbusplus \ |
| 25 | phosphor-logging \ |
| 26 | openpower-dbus-interfaces \ |
| 27 | phosphor-dbus-interfaces \ |
| 28 | " |
Matthew Barth | e6d1295 | 2016-09-28 09:51:58 -0500 | [diff] [blame] | 29 | |
Chris Austen | f6d294d | 2016-01-23 18:00:11 -0600 | [diff] [blame] | 30 | TARGET_CFLAGS += "-fpic" |
Chris Austen | 9d3325a | 2015-10-24 19:34:11 -0500 | [diff] [blame] | 31 | |
Tom Joseph | dcdc8ea | 2017-02-01 19:47:27 +0530 | [diff] [blame] | 32 | HOSTIPMI_PROVIDER_LIBRARY += "liboemhandler.so" |
| 33 | |
Tom Joseph | 087f518 | 2019-01-28 21:41:27 -0600 | [diff] [blame^] | 34 | EXTRA_OECONF = " \ |
| 35 | INVSENSOR_YAML_GEN=${STAGING_DIR_NATIVE}${datadir}/phosphor-ipmi-host/sensor/invsensor.yaml \ |
| 36 | " |
| 37 | |
Chris Austen | 9d3325a | 2015-10-24 19:34:11 -0500 | [diff] [blame] | 38 | S = "${WORKDIR}/git" |
| 39 | |
Tom Joseph | dcdc8ea | 2017-02-01 19:47:27 +0530 | [diff] [blame] | 40 | FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" |
Matthew Barth | e6d1295 | 2016-09-28 09:51:58 -0500 | [diff] [blame] | 41 | FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}" |
Tom Joseph | dcdc8ea | 2017-02-01 19:47:27 +0530 | [diff] [blame] | 42 | FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la" |