Brad Bishop | b0c3b27 | 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 | 030da25 | 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 | b0c3b27 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 11 | |
| 12 | DEPENDS += "autoconf-archive-native" |
Brad Bishop | f4393bf | 2017-02-20 14:36:31 -0500 | [diff] [blame] | 13 | DEPENDS += " \ |
| 14 | sdbusplus \ |
| 15 | phosphor-dbus-interfaces \ |
| 16 | phosphor-logging \ |
| 17 | " |
| 18 | |
Brad Bishop | b0c3b27 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 19 | |
| 20 | RDEPENDS_${PN} += "\ |
Brad Bishop | f4393bf | 2017-02-20 14:36:31 -0500 | [diff] [blame] | 21 | sdbusplus \ |
| 22 | phosphor-dbus-interfaces \ |
| 23 | phosphor-logging \ |
Brad Bishop | b0c3b27 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 24 | " |
| 25 | |
Brad Bishop | fe7871c | 2017-02-22 20:50:13 -0500 | [diff] [blame] | 26 | RRECOMMENDS_${PN} += "${VIRTUAL-RUNTIME_phosphor-hwmon-config}" |
| 27 | |
Brad Bishop | b0c3b27 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 28 | SRC_URI += "git://github.com/openbmc/phosphor-hwmon" |
Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 29 | SRC_URI += "file://70-hwmon.rules" |
Brad Bishop | b0c3b27 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 30 | |
Patrick Williams | 4a0390d | 2017-06-16 01:10:04 -0500 | [diff] [blame^] | 31 | SRCREV = "ac8b7c6b71f089a9054e34d555c14ad14dd501b4" |
Brad Bishop | b0c3b27 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 32 | |
| 33 | S = "${WORKDIR}/git" |
Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 34 | |
| 35 | do_install_append() { |
| 36 | |
Brad Bishop | f5812fd | 2017-01-26 09:12:57 -0500 | [diff] [blame] | 37 | install -d ${D}/${base_libdir}/udev/rules.d/ |
| 38 | install ${WORKDIR}/70-hwmon.rules ${D}/${base_libdir}/udev/rules.d/ |
Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 39 | } |