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 | |
| 26 | SRC_URI += "git://github.com/openbmc/phosphor-hwmon" |
Brad Bishop | 4186efb | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 27 | SRC_URI += "file://70-hwmon.rules" |
Brad Bishop | b1e8840 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 28 | |
Patrick Williams | bbae548 | 2017-02-23 15:50:10 -0600 | [diff] [blame] | 29 | SRCREV = "2260efb11630f8663e69a75a1be96493b629e7b2" |
Brad Bishop | b1e8840 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 30 | |
| 31 | S = "${WORKDIR}/git" |
Brad Bishop | 4186efb | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 32 | |
| 33 | do_install_append() { |
| 34 | |
Brad Bishop | 2b9921e | 2017-01-26 09:12:57 -0500 | [diff] [blame] | 35 | install -d ${D}/${base_libdir}/udev/rules.d/ |
| 36 | install ${WORKDIR}/70-hwmon.rules ${D}/${base_libdir}/udev/rules.d/ |
Brad Bishop | 4186efb | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 37 | } |