Brad Bishop | b1e8840 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 1 | SUMMARY = "OpenBMC hwmon poller" |
| 2 | DESCRIPTION = "OpenBMC hwmon poller." |
| 3 | PR = "r1" |
| 4 | |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" |
| 7 | |
Brad Bishop | 4186efb | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 8 | inherit autotools pkgconfig obmc-phosphor-systemd |
| 9 | |
| 10 | SYSTEMD_SERVICE_${PN} = "xyz.openbmc_project.Hwmon@.service" |
Brad Bishop | b1e8840 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 11 | |
| 12 | DEPENDS += "autoconf-archive-native" |
Brad Bishop | 6d10511 | 2017-02-20 14:36:31 -0500 | [diff] [blame] | 13 | DEPENDS += " \ |
| 14 | sdbusplus \ |
| 15 | phosphor-dbus-interfaces \ |
| 16 | phosphor-logging \ |
| 17 | " |
| 18 | |
Brad Bishop | b1e8840 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 19 | |
| 20 | RDEPENDS_${PN} += "\ |
Brad Bishop | 6d10511 | 2017-02-20 14:36:31 -0500 | [diff] [blame] | 21 | sdbusplus \ |
| 22 | phosphor-dbus-interfaces \ |
| 23 | phosphor-logging \ |
Brad Bishop | b1e8840 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 24 | " |
| 25 | |
Brad Bishop | 3217b27 | 2017-02-22 20:50:13 -0500 | [diff] [blame] | 26 | RRECOMMENDS_${PN} += "${VIRTUAL-RUNTIME_phosphor-hwmon-config}" |
| 27 | |
Brad Bishop | b1e8840 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 28 | SRC_URI += "git://github.com/openbmc/phosphor-hwmon" |
Brad Bishop | 4186efb | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 29 | SRC_URI += "file://70-hwmon.rules" |
Brandon Wyman | 7cae3ea | 2017-06-21 16:32:56 -0500 | [diff] [blame^] | 30 | SRC_URI += "file://70-iio.rules" |
Brad Bishop | b1e8840 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 31 | |
Patrick Williams | c7d6e4f | 2017-06-16 01:10:04 -0500 | [diff] [blame] | 32 | SRCREV = "ac8b7c6b71f089a9054e34d555c14ad14dd501b4" |
Brad Bishop | b1e8840 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 33 | |
| 34 | S = "${WORKDIR}/git" |
Brad Bishop | 4186efb | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 35 | |
| 36 | do_install_append() { |
| 37 | |
Brad Bishop | 2b9921e | 2017-01-26 09:12:57 -0500 | [diff] [blame] | 38 | install -d ${D}/${base_libdir}/udev/rules.d/ |
| 39 | install ${WORKDIR}/70-hwmon.rules ${D}/${base_libdir}/udev/rules.d/ |
Brandon Wyman | 7cae3ea | 2017-06-21 16:32:56 -0500 | [diff] [blame^] | 40 | install ${WORKDIR}/70-iio.rules ${D}/${base_libdir}/udev/rules.d/ |
Brad Bishop | 4186efb | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 41 | } |